Categories:
Cloud (204)
Entertainment (11)
Facebook (43)
General (50)
Life (31)
Programming (64)
Technology (398)
Testing (4)
Tools (488)
Twitter (5)
Wearable (26)
Web Design (44)
Collections:
Other Resources:
Download API Options for "files" Objects
What are download API options for Library Genesis "files" Objects?
✍: FYIcenter.com
Since actual files of Library Genesis "files" Objects are stored in different file repositories, you can follow these guide lines to figure out the best download API option:
1. Use Sci-Hub Website to download, if "scimag_archive_path" is not "". You can convert the "scimag_archive_path" into a Sci-Hub URL to download it. For example:
fyicenter$ curl 'https://libgen.lc/json.php?object=f&ids=32216214' \ | python -m json.tool | grep scimag_archive_path "scimag_archive_path": "10.2307\\25311768.pdf",
Open https://sci-hub.ru/10.2307/25311768 in a browser. You see the PDF file.
Don't try to download it with the default "curl" command. Sci-Hub encourage you to use a real Web browser.
fyicenter$ curl -L 'https://sci-hub.ru/10.2307/25311768' <!DOCTYPE html> <html> <head> <title>Sci-Hub | One Hour’s Sleep: Three Dreams. 291, (1), 3 | 10.2307/25311768</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width"> <script src="/scripts/jquery-3.6.0.min.js"></script> </head> <body> ...
2. Use libgen.rocks/get.php API to download, if "locator" is not "". You can use the MD5 hash value for the get.php API to download it. For example:
fyicenter$ curl 'https://libgen.lc/json.php?object=f&ids=1862645' \ | python -m json.tool > files-1862645.json fyicenter$ egrep 'locator|md5' files-1862645.json "locator": "V:\\comics\\_0DAY21\\English\\Simpsons Comics\\Simpsons Comics 027 [Bongo].cbz", "md5": "5d341a6a626478e6feb48ee041c26aa0", fyicenter$ curl -L 'https://libgen.rocks/get.php?md5=5d341a6a626478e6feb48ee041c26aa0' \ > files-1862645.cbz fyicenter$ unzip -l files-1862645.cbz Archive: test.zip Length Date Time Name --------- ---------- ----- ---- 125384 01-02-2004 00:28 Simpsons Comics 027-01.Jpg 171112 01-02-2004 00:28 Simpsons Comics 027-04.Jpg 168085 01-02-2004 00:28 Simpsons Comics 027-05.Jpg 174163 01-02-2004 00:28 Simpsons Comics 027-07.Jpg 171615 01-02-2004 00:28 Simpsons Comics 027-08.Jpg ...
1. Use library.lol Website to download, if "fiction_rus_id" > "0". You can convert the "md5" hash value into a library.lol URL to download it. For example:
fyicenter$ curl 'https://libgen.lc/json.php?object=f&ids=2786452' \ | python -m json.tool > files-2786452.json egrep 'fiction_rus_id|md5' files-2786452.json "fiction_rus_id": "271701", "md5": "979d35687124946634b4aac85262a6a0",
Open http://library.lol/fiction/f6d133bdf38ffafc506699fd83b4f703 in a browser. Click the "GET" link to download the file.
2023-07-01, 698🔥, 0💬
Popular Posts:
Why I getting the "Error! No text of specified style in document." in Microsoft Word? You are gettin...
Is Tahoma font supported on iPhone, iPad and other Apple devices? The answer is no. Tahoma font is n...
How to add slide numbers and copyright in the footer area? You can add slide numbers, copyright text...
How to add a new layout to the slide master in PowerPoint? In my PowerPoint presentation, I need to ...
Why I am getting the "Opening ChromeSetup.exe" dialog box when trying to install Google Chrome 31 on...