This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from requests import get | |
| from bs4 import BeautifulSoup | |
| from pprint import pprint | |
| Scratch_URL = "https://scratch.mit.edu" | |
| def get_activity_type(raw_activity_type): | |
| activities = { | |
| "added": "studio-add", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import time | |
| import scratchconnect | |
| user = scratchconnect.ScratchConnect("Username", "Password") | |
| all_followers = user.followers(all=True) | |
| invited_followers = [] | |
| for i in range(0, len(all_followers)): | |
| processing = all_followers[i] | |
| for j in range(0, len(processing)): |