Skip to content

showlibia/gs_cited_artical_crawler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gs_cited_artical_crawler

This Python-based web scraper is designed to retrieve citation information from Google Scholar for a specified article. It extracts details such as the title, authors, publication platform, and year of all citing documents.

Features

  • Fetch Citation Details: Automatically gathers comprehensive citation data from Google Scholar.

  • Easy to Use: User-friendly command line interface.

  • Output Formatting: Organizes citation information in a structured format for easy analysis.

Requirements

  • Python 3.9 or higher

  • Platform: Windows, macOS

  • chromedriver (You can change the path of chromedriver in config.json)

  • Google Chrome

Installation

Clone the repository to your local machine:

git clone [email protected]:showlibia/gs_cited_artical_crawler.git
cd gs_cited_artical_crawler

Install the required Python libraries:

pip install -r requirements.txt

Usage

Run the scraper using the following command:

python run_crawler.py "article name" citated_number

Note:

To counteract Google Scholar's anti-scraping mechanisms, this program divides the process of scraping citation information into multiple stages.

For operations that may encounter errors, please refer to the check_captcha function in the click.py file.

Output

The script will output a json file named artical_name.json containing the following columns:

  • Title: Title of the citing article.

  • Citation: MLA citation text.

  • Authors: List of authors.

  • Publication: Platform or journal where the article is published.

  • Year: Publication year

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages