Discuss Scratch

TimMcCool
Scratcher
100+ posts

scratchattach - A Scratch API wrapper (Python)

JloAu wrote:

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
Yes, you can connect to multiple projects

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)

TimMcCool wrote:

JloAu wrote:

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
Yes, you can connect to multiple projects
This is so nice! Thank you for replying me!

JloAu

My best project : Windows 11 SE
-FreeEngines-
Scratcher
100+ posts

scratchattach - A Scratch API wrapper (Python)

codeywhizz wrote:

How, also Youtube's one doesn't work for subs I think
obviously youtube's one works for subs? how would you see someones subsriber count otherwise
codeywhizz
Scratcher
45 posts

scratchattach - A Scratch API wrapper (Python)

-FreeEngines- wrote:

codeywhizz wrote:

How, also Youtube's one doesn't work for subs I think
obviously youtube's one works for subs? how would you see someones subsriber count otherwise
I was looking at subscription sorry

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



MY RECENT GAMES











My Profile Link
Mast_Scratch
Scratcher
100+ posts

scratchattach - A Scratch API wrapper (Python)

df21 wrote:

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
Tho you have a 10% of chance guessing passwords. And no one would try


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

-FreeEngines-
Scratcher
100+ posts

scratchattach - A Scratch API wrapper (Python)

df21 wrote:

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
what? you can do that without scratchattach just aswell? you get timeouted after 3-4 attempts anyways
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.


TimMcCool
Scratcher
100+ posts

scratchattach - A Scratch API wrapper (Python)

df21 wrote:

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
Scratch will ratelimit someone who tries to do that after a few attempts

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

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)

massacoder wrote:

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
Where are you running the code? You can't connect to cloud variables on pythonanywhere

Mast_Scratch wrote:

df21 wrote:

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
Tho you have a 10% of chance guessing passwords. And no one would try
way less than 10%

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)

What are turbowarps new cloud vars guidlines?
Ok found it.
https://docs.turbowarp.org/cloud-variables

Last edited by infintyrussia (Nov. 15, 2022 23:53:33)



Mast_Scratch
Scratcher
100+ posts

scratchattach - A Scratch API wrapper (Python)

Mast_Scratch wrote:

df21 wrote:

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
Tho you have a 10% of chance guessing passwords. And no one would try
way less than 10%

Yes 10 > x%


massacoder
Scratcher
31 posts

scratchattach - A Scratch API wrapper (Python)

TimMcCool wrote:

massacoder wrote:

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

massacoder wrote:

TimMcCool wrote:

Where 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)

xxxxxxx-70 wrote:

(#1318)
-snip-
Please don't blockspam.

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.

Hello, I'm Brandon a Python developer who loves math and coding.
he/him
Feel free to message me with any questions
xxxxxxx-70
Scratcher
1000+ posts

scratchattach - A Scratch API wrapper (Python)

Knightbot63 wrote:

xxxxxxx-70 wrote:

(#1318)
-snip-
Please don't blockspam.
okay im sorry im just new here

<<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

Powered by DjangoBB