You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
316 B
Python
18 lines
316 B
Python
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()
|