bibcure / scihub2pdf

Downloads pdfs via a DOI number, article title or a bibtex file, using the database of libgen(sci-hub) , arxiv
GNU Affero General Public License v3.0
199 stars 45 forks source link

Direst output infos to files #13

Open wfc1102 opened 5 years ago

wfc1102 commented 5 years ago

Nice jobs. most articles are downloaded automaticlly, but a few cannot be found like below: DOI: 10.1080/16742834.2014.11447220 Sci-Hub Link: https://sci-hub.se/10.1080/16742834.2014.11447220 checking if has captcha... No pdf found. Maybe, the sci-hub dosen't have the file Try to open the link in your browser.

Then, I'd like to grep the Sci-Hub Link only and save the Link to a.txt. scihub2pdf --title ${article_title} > a.txt doens't work, it will treat '${article_title} > a.txt' as a whole title. Appreciate if you could solve it. For example, add an option -d to direst the scihub2pdf infos to files. Thanks.