Follow these steps to set up and run the GitHub Repo Scraper.
Clone the repository using the following command:
git clone https://github.com/Da-Coder-Jr/Ripa.git
cd RipaMake sure you have Python 3.8 or higher installed. Then, install the required dependencies with:
pip install requestsStart the scraper by running:
python3 github_scraper_main.pyWhen prompted, enter a valid GitHub repository link in the format:
https://github.com/<owner>/<repo>
For example:
https://github.com/octocat/Hello-World
You will be asked how you want to handle the files:
- Enter F to save all repository files in a folder named after the repository.
- Enter T to preview the first 10 lines of each file in the terminal.
Example prompt:
Save files locally (F), preview in terminal (T), or both (A)? [F/T/A]: T