Discuss Scratch

god286
Scratcher
1000+ posts

Scratchinfo - an epic website

-TheRealLegend- wrote:

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?
Hover over your username on /users/-TheRealLegend-

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

god286 wrote:

-TheRealLegend- wrote:

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?
Hover over your username on /users/-TheRealLegend-/followers
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”

Last edited by -TheRealLegend- (April 1, 2022 22:53:35)

god286
Scratcher
1000+ posts

Scratchinfo - an epic website

-TheRealLegend- wrote:

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”
So you want to get the follower count?

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

god286 wrote:

-TheRealLegend- wrote:

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”
So you want to get the follower count?

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)
Thanks!
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

god286 wrote:

Please, I am asking you, I have not done programming for a bit more than a week, https://github.com/webdev03/scratchinfo/discussions/61
What do you mean by “better UI” ?


╭━━━╮╱╱╱╱╱╱╭╮╱╱╱╱╱╱╭━━━╮
┃╭━━╯╱╱╱╱╱╱┃┃╱╱╱╱╱╱┃╭━╮┃
┃╰━━┳━━┳━━┳┫┃╭━━┳━╮╰╯╭╯┃
┃╭━━┫╭╮┃━━╋┫┃┃╭╮┃╭╮┳╮╰╮┃
┃╰━━┫╰╯┣━━┃┃╰┫╰╯┃┃┃┃╰━╯┃
╰━━━┫╭━┻━━┻┻━┻━━┻╯╰┻━━━╯
╱╱╱╱┃┃
╱╱╱╱╰╯
god286
Scratcher
1000+ posts

Scratchinfo - an epic website

Epsilon_3 wrote:

god286 wrote:

Please, I am asking you, I have not done programming for a bit more than a week, https://github.com/webdev03/scratchinfo/discussions/61
What do you mean by “better UI” ?
UI is very very bad in comparison to Aviate

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

god286 wrote:

Epsilon_3 wrote:

god286 wrote:

Please, I am asking you, I have not done programming for a bit more than a week, https://github.com/webdev03/scratchinfo/discussions/61
What do you mean by “better UI” ?
UI is very very bad in comparison to Aviate
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.

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!

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

god286 wrote:

Current stats!
65 users signed up!
Almost 800 unique requests to ScratchLight authentication!
Nice!

Very first post- https://scratch.mit.edu/discuss/topic/565039/ And no, I am totally not embarassed about it. (Especially the blocks)

MagicCrayon9342
Scratcher
1000+ posts

Scratchinfo - an epic website

god286
Scratcher
1000+ posts

Scratchinfo - an epic website

MagicCrayon9342 wrote:

Made a PR
https://github.com/webdev03/scratchinfo/pull/62
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.

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.
Joshisaurio
Scratcher
100+ posts

Scratchinfo - an epic website

Whoaaaaa the website is soo cool


Banner by @NFlex23


Banner by @NFlex23

starhero5697
Scratcher
1000+ posts

Scratchinfo - an epic website

Joshisaurio wrote:

Whoaaaaa the website is soo cool
Yep it is epic (hence the name of this topic).

check out my youtube channel and soundcloud where i post my music

glitcX
Scratcher
1000+ posts

Scratchinfo - an epic website

It's amazing!

Last edited by Kaj (Tomorrow 00:00:00)



PS4 User/FALL GUYS/YouTuber/Pokémon TCG/♬ Clarinet ♬/Terraria
To order dial the number on your screen. Each sold separately.
Terms apply.

BUY KUMQUAT GUARD NOW!
















:)
cwkelliott47732s
Scratcher
17 posts

Scratchinfo - an epic website

MagicCrayon9342 wrote:

What's better? Vercel or Repl?
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

cwkelliott47732s wrote:

MagicCrayon9342 wrote:

What's better? Vercel or Repl?
Repl
this is from LAST YEAR lol
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

cat throwing brick at camera transparent dot gif
https://bigspeed.me
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.

R.I.P Zydrolic, 2023-2024
god286
Scratcher
1000+ posts

Scratchinfo - an epic website

DifferentDance8 wrote:

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

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

god286 wrote:

DifferentDance8 wrote:

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.
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).
I used the scratch API raw it wasn't hosted through replit, so

R.I.P Zydrolic, 2023-2024

Powered by DjangoBB