getting the ids only

master
Pedro Sá Couto 5 years ago
parent 5a90ad930f
commit de0a4c237c

BIN
.DS_Store vendored

Binary file not shown.

@ -1,5 +1,17 @@
import pprint
import pylibgen
from pylibgen import Library
import requests
bookname = input("Book name to search: ")
l = Library()
ids = l.search(bookname)
# print(ids)
idstourl = ",".join(ids )
print(idstourl)
# r = requests.get('http://gen.lib.rus.ec/json.php?ids='+ids+'&fields=Title,Author,MD5')
# r.json()

BIN
src/.DS_Store vendored

Binary file not shown.

@ -1 +1 @@
Subproject commit 596b7abfd74fcdf79c4c87491b279e86e51a255e
Subproject commit 110fbb2786482b19c5c7d34aeaff11af3399ca2e
Loading…
Cancel
Save