Skip to content

Download PDFs from Google Scholar, find images and their captions in the PDF

License

Notifications You must be signed in to change notification settings

ISipi/captioncapture

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CaptionCapture

Download PDFs from Google Scholar, find images and their captions in the PDF - this is a work in progress and caption capture isn't yet fully working. Any contributions to get this to work are appreciated!

Installation notes

Use Python 3.7, install libraries through requirements.txt.

Required external packages:

Usage

In your terminal, run the program with 'python captioncapture.py' You need to provide additional arguments for:

  • query term (--query),
  • Google Search language (--lan, default: 'en'),
  • output folder (--output_folder, default: ../downloaded_pdfs/),
  • number of Google Scholar result pages you want to scrape (--num_pages, default: 1) with each page having 10 results.

If you want to use just the image and caption extraction on local files, add the argument '--local_folder=full_path_to_your_folder', which will automatically skip the web scraping part and perform image and caption extraction on all PDFs located in your specified folder.

Note:

Using VPN has an impact on the scraper's visibility of PDFs, so turning your VPN off is recommended.

About

Download PDFs from Google Scholar, find images and their captions in the PDF

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages