Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GITHUB Code Scrapper -- Using Python

📂 Installation & Setup

pip install requests beautifulsoup4 python-dotenv

Make a new .env file

Get your GITHUB API Token from developer settings with full repo control

GITHUB_TOKEN=<your_token>

Change the parameters as per your need

#edit this as per your choice
repo_owner = "your_name"
repo_name = "your_repo_name"
branch_name = "branch_name"

#edit the key points that need to be found in the code base
things_to_fetch = ["code1","code2",]

Run the code and it is good to go !!!

About

GITHUB Code scraper that loops through all the files and looks for the necessary things which the user is looking for at a certain repository.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages