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 !!!