getting the ids only
parent
5a90ad930f
commit
de0a4c237c
@ -1,5 +1,17 @@
|
|||||||
import pprint
|
import pprint
|
||||||
import pylibgen
|
import pylibgen
|
||||||
from pylibgen import Library
|
from pylibgen import Library
|
||||||
|
import requests
|
||||||
|
|
||||||
|
bookname = input("Book name to search: ")
|
||||||
|
|
||||||
l = Library()
|
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()
|
||||||
|
Binary file not shown.
@ -1 +1 @@
|
|||||||
Subproject commit 596b7abfd74fcdf79c4c87491b279e86e51a255e
|
Subproject commit 110fbb2786482b19c5c7d34aeaff11af3399ca2e
|
Loading…
Reference in New Issue