Sid72020123 / scratchconnect

Python Library to connect Scratch API and much more.
https://sid72020123.github.io/scratchconnect/
MIT License
26 stars 14 forks source link

Can't change unauthorized project's cloud variables #42

Closed thatfrozenfrog closed 2 years ago

thatfrozenfrog commented 2 years ago

I used to change projects' cloud variables with the set_cloud_variable function even with projects that were not mine. But now, when I run the script, the scratch cloud variable won't change

Any ideas?

Sid72020123 commented 2 years ago

Is the project unshared because ScratchConnect can set the cloud variables of any project. If the project is unshared, use the "access_unshared=True" of the connect_project() function.

Have you tried refreshing the page? Any network problems?

thatfrozenfrog commented 2 years ago

I just found out that Scratch bans Replit's IP so prob it's Scratch's fault. Guess I've to log in using sessionID then

Sid72020123 commented 2 years ago

Yes but logging-in in with Session ID may not work now because Scratch made some changes a few days ago :( It now blocks a request sent from Replit! :( Maybe, your program won't work.

thatfrozenfrog commented 2 years ago

thats really really sucks. Any suggests for Replit alternatives?

Sid72020123 commented 2 years ago

Sorry, I don't know any Replit alternatives. Many people are facing the same problem: https://scratch.mit.edu/discuss/topic/612435/

Also, this issue should be closed as it is not the library's error. It's the Scratch's API error which blocks the requests from Replit :(