Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from scratchclient import ScratchSession #https://scratch.mit.edu/discuss/topic/506810/
- session = ScratchSession("username", "password") #here goes your scratch username and password
- infinity = 999999999 #a big number
- for i in range(104, infinity): #earliest project has the id 104
- try:
- session.get_project(i).favorite()
- print(i) #so you know that the program favorited a project
- except KeyError: #if project doesn't exist
- pass
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement