Changes

Jump to navigation Jump to search
871 bytes added ,  13:47, 21 September 2020
no edit summary
{{Project|Has project output=Tool|Has sponsor=McNair ProjectsCenter
|Has title=PDF Downloader
|Has owner=Christy Warden,
|Has project status=Complete
}}
=Overview=
The code for this function is located at E:/McNair/Software/Google_Scholar_Crawler/pdfdownloader.py
 
This program takes in a txt file that contains rows of entries where each row is a file name and a link to a pdf, separated by a tab. (For an example, E:/McNair/Projects/Patent_Thickets/ScholarQueries/patent thickets/Query_patent thickets_pdfTable.txt). It also takes in a directory that you want all the PDFs to be placed in. It downloads all the PDFs from the links in the txt file and names them by the file name, also in the text file. It saves all of the PDFs in the output directory provided.
 
=Dependencies=
urllib
 
=How to Use=
Open the pdfdownloader.py in Komodo. At the bottom of the file, type: ''main(your text file, your output directory)''. Click the play button in the top middle of the screen.

Navigation menu