Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » scratchattach - A Scratch API wrapper (Python)
- TimMcCool
- Scratcher
100+ posts
scratchattach - A Scratch API wrapper (Python)
Yes, you can connect to multiple projects Hi! This may be a dumb question but can we connect to the cloud of multiple projects at the same time in a single python program? Or how about the scratch cloud and the turbowarp cloud?
Thank you for your help
Last edited by TimMcCool (Nov. 8, 2022 18:38:47)
Developer of scratchattach, the most popular Python Scratch API wrapper
- codeywhizz
- Scratcher
45 posts
scratchattach - A Scratch API wrapper (Python)
How, also Youtube's one doesn't work for subs I think
- JloAu
- Scratcher
24 posts
scratchattach - A Scratch API wrapper (Python)
This is so nice! Thank you for replying me!Yes, you can connect to multiple projects Hi! This may be a dumb question but can we connect to the cloud of multiple projects at the same time in a single python program? Or how about the scratch cloud and the turbowarp cloud?
Thank you for your help
- -FreeEngines-
- Scratcher
100+ posts
scratchattach - A Scratch API wrapper (Python)
obviously youtube's one works for subs? how would you see someones subsriber count otherwise How, also Youtube's one doesn't work for subs I think
- codeywhizz
- Scratcher
45 posts
scratchattach - A Scratch API wrapper (Python)
I was looking at subscription sorryobviously youtube's one works for subs? how would you see someones subsriber count otherwise How, also Youtube's one doesn't work for subs I think
- df21
- Scratcher
52 posts
scratchattach - A Scratch API wrapper (Python)
btw couldn't someone use scratchattach to hack someone else's scratch account using the login prompt and trying every possible password. for that reason i think scratchattach is dangerous. if this is possible plz fix this before it's too late
- Mast_Scratch
- Scratcher
100+ posts
scratchattach - A Scratch API wrapper (Python)
Tho you have a 10% of chance guessing passwords. And no one would try btw couldn't someone use scratchattach to hack someone else's scratch account using the login prompt and trying every possible password. for that reason i think scratchattach is dangerous. if this is possible plz fix this before it's too late
- massacoder
- Scratcher
31 posts
scratchattach - A Scratch API wrapper (Python)
when i do
conn = session.connect_cloud(“760934612”)
i get
Traceback (most recent call last):
File “/Users/loydgreen/Documents/test.py”, line 5, in <module>
conn = session.connect_cloud(“760934612”)
File “/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/scratchattach/_session.py”, line 247, in connect_cloud
return _cloud.CloudConnection(username = self._username, session_id = self.session_id, project_id = int(project_id))
File “/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/scratchattach/_cloud.py”, line 22, in __init__
self._connect(cloud_host=cloud_host)
File “/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/scratchattach/_cloud.py”, line 77, in _connect
raise(_exceptions.ConnectionError)
scratchattach._exceptions.ConnectionError
conn = session.connect_cloud(“760934612”)
i get
Traceback (most recent call last):
File “/Users/loydgreen/Documents/test.py”, line 5, in <module>
conn = session.connect_cloud(“760934612”)
File “/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/scratchattach/_session.py”, line 247, in connect_cloud
return _cloud.CloudConnection(username = self._username, session_id = self.session_id, project_id = int(project_id))
File “/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/scratchattach/_cloud.py”, line 22, in __init__
self._connect(cloud_host=cloud_host)
File “/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/scratchattach/_cloud.py”, line 77, in _connect
raise(_exceptions.ConnectionError)
scratchattach._exceptions.ConnectionError
- -FreeEngines-
- Scratcher
100+ posts
scratchattach - A Scratch API wrapper (Python)
what? you can do that without scratchattach just aswell? you get timeouted after 3-4 attempts anyways btw couldn't someone use scratchattach to hack someone else's scratch account using the login prompt and trying every possible password. for that reason i think scratchattach is dangerous. if this is possible plz fix this before it's too late
- infintyrussia
- Scratcher
100+ posts
scratchattach - A Scratch API wrapper (Python)
From what I know I had my 5G network banned after 4 failed login attempts. These 4 login attempts aren't enough to break someone's password. And also I don't know why someone would want to do that. There is nothing on Scratch to steal also if you are worried about people being able to use a hosting service to have multiple IPs then Scratch has already banned most of those.
I don't think it's possible to hack someone's password/account.
Hope this helped.
I don't think it's possible to hack someone's password/account.
Hope this helped.
- TimMcCool
- Scratcher
100+ posts
scratchattach - A Scratch API wrapper (Python)
Scratch will ratelimit someone who tries to do that after a few attempts btw couldn't someone use scratchattach to hack someone else's scratch account using the login prompt and trying every possible password. for that reason i think scratchattach is dangerous. if this is possible plz fix this before it's too late
Developer of scratchattach, the most popular Python Scratch API wrapper
- TimMcCool
- Scratcher
100+ posts
scratchattach - A Scratch API wrapper (Python)
Update v1.0.9
- Implemented Scratch's new project tokens
- Implemented TurboWarp's new cloud var guidelines
- Fixed user.get_comment_replies() and project.get_comment_replies()
Please report any bugs you find
- Implemented Scratch's new project tokens
- Implemented TurboWarp's new cloud var guidelines
- Fixed user.get_comment_replies() and project.get_comment_replies()
Please report any bugs you find
Last edited by TimMcCool (Nov. 15, 2022 20:23:12)
Developer of scratchattach, the most popular Python Scratch API wrapper
- TimMcCool
- Scratcher
100+ posts
scratchattach - A Scratch API wrapper (Python)
Where are you running the code? You can't connect to cloud variables on pythonanywhere when i do
conn = session.connect_cloud(“760934612”)
i get
Traceback (most recent call last):
File “/Users/loydgreen/Documents/test.py”, line 5, in <module>
conn = session.connect_cloud(“760934612”)
File “/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/scratchattach/_session.py”, line 247, in connect_cloud
return _cloud.CloudConnection(username = self._username, session_id = self.session_id, project_id = int(project_id))
File “/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/scratchattach/_cloud.py”, line 22, in __init__
self._connect(cloud_host=cloud_host)
File “/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/scratchattach/_cloud.py”, line 77, in _connect
raise(_exceptions.ConnectionError)
scratchattach._exceptions.ConnectionError
way less than 10%Tho you have a 10% of chance guessing passwords. And no one would try btw couldn't someone use scratchattach to hack someone else's scratch account using the login prompt and trying every possible password. for that reason i think scratchattach is dangerous. if this is possible plz fix this before it's too late
Last edited by TimMcCool (Nov. 15, 2022 20:25:06)
Developer of scratchattach, the most popular Python Scratch API wrapper
- infintyrussia
- Scratcher
100+ posts
scratchattach - A Scratch API wrapper (Python)
Last edited by infintyrussia (Nov. 15, 2022 23:53:33)
- Mast_Scratch
- Scratcher
100+ posts
scratchattach - A Scratch API wrapper (Python)
way less than 10%Tho you have a 10% of chance guessing passwords. And no one would try btw couldn't someone use scratchattach to hack someone else's scratch account using the login prompt and trying every possible password. for that reason i think scratchattach is dangerous. if this is possible plz fix this before it's too late
Yes 10 > x%
- massacoder
- Scratcher
31 posts
scratchattach - A Scratch API wrapper (Python)
when i do
conn = session.connect_cloud(“760934612”)
i get
Traceback (most recent call last):
File “/Users/loydgreen/Documents/test.py”, line 5, in <module>
conn = session.connect_cloud(“760934612”)
File “/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/scratchattach/_session.py”, line 247, in connect_cloud
return _cloud.CloudConnection(username = self._username, session_id = self.session_id, project_id = int(project_id))
File “/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/scratchattach/_cloud.py”, line 22, in __init__
self._connect(cloud_host=cloud_host)
File “/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/scratchattach/_cloud.py”, line 77, in _connect
raise(_exceptions.ConnectionError)
scratchattach._exceptions.ConnectionErrorWhere are you running the code? You can't connect to cloud variables on python anywhere
In the code window
Last edited by massacoder (Nov. 16, 2022 16:14:50)
- xxxxxxx-70
- Scratcher
1000+ posts
scratchattach - A Scratch API wrapper (Python)
when green flag clicked
when green flag clicked
when green flag clicked
when green flag clicked
when green flag clicked
when green flag clicked
when green flag clicked
when green flag clicked
when green flag clicked
when green flag clicked
<<Xxxxxxx-70>>
______________________________________________________________ Oh hi there im xxxxxxx-70 an 16 year old i enjoy my life and it’s pretty chill I have accomplished many milestone and I’m happy to have them :) I also do a lot of art and very few codes if you want to support my alts check down here
Here are all my alts @Bluevubeman @nicescracher @the-guy-who-cares :D by someone i dont know feel free to vistit my ◆-Profile-◆ page
by xxxxxxx-70
- Knightbot63
- Scratcher
1000+ posts
scratchattach - A Scratch API wrapper (Python)
(#1318)Please don't blockspam.
-snip-
Working on an RPG. Consistently losing followers because of inactivity.
I head to forums time-to-time. Not as much as I used to.
- ScratchTheCoder12345
- Scratcher
500+ posts
scratchattach - A Scratch API wrapper (Python)
How would I print out the project IDs of favorited projects from a user? For example if I favorited the project IDs 191959,917,915,etc I want my code to output 191959,917,915 but not sure how to do it.
- xxxxxxx-70
- Scratcher
1000+ posts
scratchattach - A Scratch API wrapper (Python)
okay im sorry im just new here(#1318)Please don't blockspam.
-snip-
<<Xxxxxxx-70>>
______________________________________________________________ Oh hi there im xxxxxxx-70 an 16 year old i enjoy my life and it’s pretty chill I have accomplished many milestone and I’m happy to have them :) I also do a lot of art and very few codes if you want to support my alts check down here
Here are all my alts @Bluevubeman @nicescracher @the-guy-who-cares :D by someone i dont know feel free to vistit my ◆-Profile-◆ page
by xxxxxxx-70