Skip to content

Commit d295b98

Browse files
Merge pull request #5 from michaelachrisco/4-4000-followers-seems-too-much
4000 followers seems too much
2 parents c87b2e2 + 20a9a21 commit d295b98

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ A Python script to detect and block mass-following bot accounts from your GitHub
66

77
## Features
88
- Scans your followers
9-
- Detects accounts following over a threshold (default: 5000)
9+
- Detects accounts following over a threshold (default: 4000)
1010
- Blocks suspected bots
1111
- Automates daily cleanup using GitHub Actions
1212

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def get_followers(username: str) -> List[str]:
2828
return followers
2929

3030

31-
def is_mass_follower(username: str, threshold: int = 5000) -> bool:
31+
def is_mass_follower(username: str, threshold: int = 4000) -> bool:
3232
url = f"{GITHUB_API_URL}/users/{username}"
3333
res = requests.get(url, headers=HEADERS)
3434
if res.status_code != 200:

0 commit comments

Comments
 (0)