Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Scratchinfo - an epic website
- god286
- Scratcher
1000+ posts
Scratchinfo - an epic website
Hover over your username on /users/-TheRealLegend- Okay, So I Have Like Visited This Topic Like 100 Times And You Said You Will Add A User ID Finder. Can you help me find the code for that?
Here are some of my followers!
I joined: 5 years, 9 months, 24 days ago (31/03/2018)
I have: 479 followers
In total, I have attained: 1,403 loves, 1,145 favourites, and 33,731 views.
Fun Fact: If my account continued to gain followers at a similar rate to right now, in 14,210 years I would reach the number of followers griffpatch has today! Try to imagine how many followers he would have then!
Thank you everyone!
Script created by god286.
- -TheRealLegend-
- Scratcher
100+ posts
Scratchinfo - an epic website
I know that " https://scratch.mit.edu/users/-TheRealLegend-/ “ I want to find the code so it gives a response like ”Followers : 100“ or Followers = 100”Hover over your username on /users/-TheRealLegend-/followers Okay, So I Have Like Visited This Topic Like 100 Times And You Said You Will Add A User ID Finder. Can you help me find the code for that?
Last edited by -TheRealLegend- (April 1, 2022 22:53:35)
- god286
- Scratcher
1000+ posts
Scratchinfo - an epic website
https://scratch.mit.edu/users/-TheRealLegend-/ “ I want to find the code so it gives a response like ”Followers : 100“ or Followers = 100”So you want to get the follower count? I know that "
From ScratchDB:
https://scratchdb.lefty.one/v3/user/info/god286
statistics.followers
Note this doesn't update live
If you want to get from the Scratch website through webscraping in JavaScript:
// the user var user = "griffpatch"; const parser = new window.DOMParser(); setInterval(async() => { const urlToFetch = "https://scratch.mit.edu/users/" + user + "/followers?noCache=" + Math.random().toString(); const followersPage = parser.parseFromString(await(await fetch(urlToFetch)).text(), 'text/html'); const followerCount = followersPage.querySelector(".box-head h2").innerText.match(/\((.*)\)/)[1]; document.getElementById("counter").innerText = followerCount; }, /* waits 5000 ms */ 5000)
Here are some of my followers!
I joined: 5 years, 9 months, 24 days ago (31/03/2018)
I have: 479 followers
In total, I have attained: 1,403 loves, 1,145 favourites, and 33,731 views.
Fun Fact: If my account continued to gain followers at a similar rate to right now, in 14,210 years I would reach the number of followers griffpatch has today! Try to imagine how many followers he would have then!
Thank you everyone!
Script created by god286.
- -TheRealLegend-
- Scratcher
100+ posts
Scratchinfo - an epic website
Thanks!https://scratch.mit.edu/users/-TheRealLegend-/ “ I want to find the code so it gives a response like ”Followers : 100“ or Followers = 100”So you want to get the follower count? I know that "
From ScratchDB:
https://scratchdb.lefty.one/v3/user/info/god286
statistics.followers
Note this doesn't update live
If you want to get from the Scratch website through webscraping in JavaScript:// the user var user = "griffpatch"; const parser = new window.DOMParser(); setInterval(async() => { const urlToFetch = "https://scratch.mit.edu/users/" + user + "/followers?noCache=" + Math.random().toString(); const followersPage = parser.parseFromString(await(await fetch(urlToFetch)).text(), 'text/html'); const followerCount = followersPage.querySelector(".box-head h2").innerText.match(/\((.*)\)/)[1]; document.getElementById("counter").innerText = followerCount; }, /* waits 5000 ms */ 5000)
- god286
- Scratcher
1000+ posts
Scratchinfo - an epic website
Please, I am asking you, I have not done programming for a bit more than a week, https://github.com/webdev03/scratchinfo/discussions/61
Here are some of my followers!
I joined: 5 years, 9 months, 24 days ago (31/03/2018)
I have: 479 followers
In total, I have attained: 1,403 loves, 1,145 favourites, and 33,731 views.
Fun Fact: If my account continued to gain followers at a similar rate to right now, in 14,210 years I would reach the number of followers griffpatch has today! Try to imagine how many followers he would have then!
Thank you everyone!
Script created by god286.
- Epsilon_3
- Scratcher
500+ posts
Scratchinfo - an epic website
https://github.com/webdev03/scratchinfo/discussions/61What do you mean by “better UI” ? Please, I am asking you, I have not done programming for a bit more than a week,
╭━━━╮╱╱╱╱╱╱╭╮╱╱╱╱╱╱╭━━━╮
┃╭━━╯╱╱╱╱╱╱┃┃╱╱╱╱╱╱┃╭━╮┃
┃╰━━┳━━┳━━┳┫┃╭━━┳━╮╰╯╭╯┃
┃╭━━┫╭╮┃━━╋┫┃┃╭╮┃╭╮┳╮╰╮┃
┃╰━━┫╰╯┣━━┃┃╰┫╰╯┃┃┃┃╰━╯┃
╰━━━┫╭━┻━━┻┻━┻━━┻╯╰┻━━━╯
╱╱╱╱┃┃
╱╱╱╱╰╯
- god286
- Scratcher
1000+ posts
Scratchinfo - an epic website
UI is very very bad in comparison to Aviatehttps://github.com/webdev03/scratchinfo/discussions/61What do you mean by “better UI” ? Please, I am asking you, I have not done programming for a bit more than a week,
Here are some of my followers!
I joined: 5 years, 9 months, 24 days ago (31/03/2018)
I have: 479 followers
In total, I have attained: 1,403 loves, 1,145 favourites, and 33,731 views.
Fun Fact: If my account continued to gain followers at a similar rate to right now, in 14,210 years I would reach the number of followers griffpatch has today! Try to imagine how many followers he would have then!
Thank you everyone!
Script created by god286.
- Epsilon_3
- Scratcher
500+ posts
Scratchinfo - an epic website
That's kinda true… (I don't want to sound offensive rn) I would vote better UI then, but I don't have GH, so yeah.UI is very very bad in comparison to Aviatehttps://github.com/webdev03/scratchinfo/discussions/61What do you mean by “better UI” ? Please, I am asking you, I have not done programming for a bit more than a week,
Last edited by Epsilon_3 (April 15, 2022 05:00:15)
╭━━━╮╱╱╱╱╱╱╭╮╱╱╱╱╱╱╭━━━╮
┃╭━━╯╱╱╱╱╱╱┃┃╱╱╱╱╱╱┃╭━╮┃
┃╰━━┳━━┳━━┳┫┃╭━━┳━╮╰╯╭╯┃
┃╭━━┫╭╮┃━━╋┫┃┃╭╮┃╭╮┳╮╰╮┃
┃╰━━┫╰╯┣━━┃┃╰┫╰╯┃┃┃┃╰━╯┃
╰━━━┫╭━┻━━┻┻━┻━━┻╯╰┻━━━╯
╱╱╱╱┃┃
╱╱╱╱╰╯
- god286
- Scratcher
1000+ posts
Scratchinfo - an epic website
Current stats!
65 users signed up!
Almost 800 unique requests to ScratchLight authentication!
65 users signed up!
Almost 800 unique requests to ScratchLight authentication!
Here are some of my followers!
I joined: 5 years, 9 months, 24 days ago (31/03/2018)
I have: 479 followers
In total, I have attained: 1,403 loves, 1,145 favourites, and 33,731 views.
Fun Fact: If my account continued to gain followers at a similar rate to right now, in 14,210 years I would reach the number of followers griffpatch has today! Try to imagine how many followers he would have then!
Thank you everyone!
Script created by god286.
- ISTILLMAKESTUFF
- Scratcher
500+ posts
Scratchinfo - an epic website
Nice! Current stats!
65 users signed up!
Almost 800 unique requests to ScratchLight authentication!
Very first post- https://scratch.mit.edu/discuss/topic/565039/ And no, I am totally not embarassed about it. (Especially the blocks)
- god286
- Scratcher
1000+ posts
Scratchinfo - an epic website
You have a syntax error. And also I think there are already too many buttons so I will probably remove them in a later update. Made a PR
https://github.com/webdev03/scratchinfo/pull/62
Last edited by god286 (April 22, 2022 02:55:38)
Here are some of my followers!
I joined: 5 years, 9 months, 24 days ago (31/03/2018)
I have: 479 followers
In total, I have attained: 1,403 loves, 1,145 favourites, and 33,731 views.
Fun Fact: If my account continued to gain followers at a similar rate to right now, in 14,210 years I would reach the number of followers griffpatch has today! Try to imagine how many followers he would have then!
Thank you everyone!
Script created by god286.
- starhero5697
- Scratcher
1000+ posts
Scratchinfo - an epic website
Yep it is epic (hence the name of this topic). Whoaaaaa the website is soo cool
- cwkelliott47732s
- Scratcher
17 posts
Scratchinfo - an epic website
Repl What's better? Vercel or Repl?
be low contrast
when gf clicked
forever
set [Scratch v] to [#4d97ff]
set [Bad v] to [#855cd6]
end
- bigspeedfpv
- Scratcher
500+ posts
Scratchinfo - an epic website
this is from LAST YEAR lolRepl What's better? Vercel or Repl?
for the record though repl is a code editor with hosting as an option, vercel is a dedicated serverless host, they cannot be compared fairly - but for vercel's intended purpose of hosting static, serverless websites, vercel is FAR better
- DifferentDance8
- Scratcher
1000+ posts
Scratchinfo - an epic website
Kinda cool, as it allows you to see now-deleted profiles (like griffpatch impersonators )
If there's one thing I want to add, it's more support for now-deleted profiles. RN for stuff beyond PFP and name it says “Cannot get statistics for this user. Please try again.” or “undefined”. It's possible to show the actual information, so please do. For the sake of me not having to make yet another web app.
If there's one thing I want to add, it's more support for now-deleted profiles. RN for stuff beyond PFP and name it says “Cannot get statistics for this user. Please try again.” or “undefined”. It's possible to show the actual information, so please do. For the sake of me not having to make yet another web app.
R.I.P Zydrolic, 2023-2024
- god286
- Scratcher
1000+ posts
Scratchinfo - an epic website
Please tell me how you get the data from ScratchDB or from your own data source (if from your own data source, how do you get the data and not overload the scratch api). Kinda cool, as it allows you to see now-deleted profiles (like griffpatch impersonators )
If there's one thing I want to add, it's more support for now-deleted profiles. RN for stuff beyond PFP and name it says “Cannot get statistics for this user. Please try again.” or “undefined”. It's possible to show the actual information, so please do. For the sake of me not having to make yet another web app.
Last edited by god286 (April 10, 2023 08:42:09)
Here are some of my followers!
I joined: 5 years, 9 months, 24 days ago (31/03/2018)
I have: 479 followers
In total, I have attained: 1,403 loves, 1,145 favourites, and 33,731 views.
Fun Fact: If my account continued to gain followers at a similar rate to right now, in 14,210 years I would reach the number of followers griffpatch has today! Try to imagine how many followers he would have then!
Thank you everyone!
Script created by god286.
- DifferentDance8
- Scratcher
1000+ posts
Scratchinfo - an epic website
I used the scratch API raw it wasn't hosted through replit, soPlease tell me how you get the data from ScratchDB or from your own data source (if from your own data source, how do you get the data and not overload the scratch api). Kinda cool, as it allows you to see now-deleted profiles (like griffpatch impersonators )
If there's one thing I want to add, it's more support for now-deleted profiles. RN for stuff beyond PFP and name it says “Cannot get statistics for this user. Please try again.” or “undefined”. It's possible to show the actual information, so please do. For the sake of me not having to make yet another web app.
R.I.P Zydrolic, 2023-2024
- Discussion Forums
- » Advanced Topics
- » Scratchinfo - an epic website