Skip to content

Commit

Permalink
full refactor to asyncio and new design pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
OfficialCodeVoyage committed Sep 14, 2024
1 parent 0957dd7 commit 49af838
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.env
follow_users.log
follow_users.log
/scraper_usernames/.env
4 changes: 2 additions & 2 deletions scraper_usernames/scrape_it_from_github_user.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
load_dotenv()

# Replace with your GitHub username and token
username = dotenv.get("USERNAME") # The GitHub username to scrape
token = dotenv.get("GITHUB_TOKEN") # The personal access token to authenticate to the GitHub API
username = dotenv.get("USERNAME") #
token = dotenv.get("GITHUB_TOKEN") #

# GitHub API endpoint and headers
api_url = f"https://api.github.com/users/{username}/following"
Expand Down

0 comments on commit 49af838

Please sign in to comment.