Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arshadkazmi42/is-broken-link-github
Github Links Broken Status Checker
https://github.com/arshadkazmi42/is-broken-link-github
blc broken-links bugbounty github links python script
Last synced: about 2 months ago
JSON representation
Github Links Broken Status Checker
- Host: GitHub
- URL: https://github.com/arshadkazmi42/is-broken-link-github
- Owner: arshadkazmi42
- License: mit
- Created: 2021-10-18T16:28:23.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-03-19T18:15:30.000Z (over 2 years ago)
- Last Synced: 2024-10-07T06:41:16.773Z (2 months ago)
- Topics: blc, broken-links, bugbounty, github, links, python, script
- Language: Python
- Homepage:
- Size: 19.5 KB
- Stars: 2
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- project-awesome - arshadkazmi42/is-broken-link-github - Github Links Broken Status Checker (Python)
README
# is-broken-link-github
- Takes file with list of urls input and check the status code 404 and prints if broken or ok.
- Mainly for Github Links.
- Handles all rate limiting of Github## Setup
```
pip install -r requirements.txt
```## Usage
```
python process.py {FILE_PATH} {GITHUB_TOKEN (optional)}
```## Example
```
python process.py github-links.txt
```## Local Bash Script
```
# $1: File pathcat $1 | awk -F[/] '{print $1"//"$3"/"$4}' | sort | uniq > process.txt
python3 process.py process.txt {GITHUB_TOKEN}
```