Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerGlaiel authored Dec 22, 2022
1 parent 0ce3fd6 commit 640faaa
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions legacy_verified_ids.txt

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions legacy_verified_usernames.txt

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions scrape.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def get_twitter():
print("ids gathered: "+str(len(ids)))
time.sleep(60)

file = open("verified_following_ids.json", "w")
file = open("verified_following_ids.txt", "w")
file.write(str(ids))


Expand Down Expand Up @@ -56,9 +56,9 @@ def get_twitter():
user_map.append((u.id_str, u.screen_name))

print("saving usernames")
file3 = open("verified_following_usernames.json", "w", encoding='utf-8')
file3 = open("verified_following_usernames.txt", "w", encoding='utf-8')
file3.write(str(user_map))

print("saving data")
file2 = open("verified_following_data.json", "w", encoding='utf-8')
file2 = open("verified_following_data.txt", "w", encoding='utf-8')
file2.write(str(users))

0 comments on commit 640faaa

Please sign in to comment.