bugfix pre-release 0.4.8

This commit is contained in:
c0decave
2019-11-06 12:49:54 +01:00
parent 4f63e62690
commit a89ac93c3d
5 changed files with 99 additions and 30 deletions

View File

@@ -22,9 +22,12 @@ def search_pdf(search, args):
urls.append(url)
except urllib.error.HTTPError as e:
print('Error: %s' % e)
return -1
#print('Error: %s' % e)
return False,e
except urllib.error.URLError as e:
return False,e
return urls
return True,urls