• Follow our Instagram!
  • Curious about what we're currently doing about bots? Check out the latest updates from staff in this thread.

Smogon Simple Questions Thread

OverpoweredPenguin said:
Sorry for posting again so soon, but how do you imbed a link onto a sprite? For instance, getting :piplup: to link to a video about how goated bro is, like the one in my signature?
Like with normal text, when you type :/piplup: (without the slash obviously), you can highlight it, then click insert link to insert a link into it. When you make the post/update your signature, you'll have the sprite visible and linking to whatever link you chose. It's what I did for all of the mons in my signature.
 
sorry if this isnt the right thread for this.
Earlier this year i made a script to automatically get showdown replay links from smogon threads, by fetching the html of the given thread. I just tried running the same script today but now i get redirected to the "you need to be logged in to do that". Any ideas as to why this happens?

details
I run the script from a Github action that runs a javascript code which tries to fetch the html of smogon pages with
JavaScript:
try {resp = await fetch(url);} catch(err){console.error("The thread URL that failed is "+url+".","The error was "+err);return}
var html = await resp.text()
It worked last time around 2 month ago, and now when I run it i get the html of the following page :
2J9QSutQCQZqn3DARjwzcg.png

Is there a new anti spam measure? and how can I still fetch the html with an open source code without putting in my login info?

Thanks in advance!
 
Sanos said:
sorry if this isnt the right thread for this.
Earlier this year i made a script to automatically get showdown replay links from smogon threads, by fetching the html of the given thread. I just tried running the same script today but now i get redirected to the "you need to be logged in to do that". Any ideas as to why this happens?

details
I run the script from a Github action that runs a javascript code which tries to fetch the html of smogon pages with
JavaScript:
try {resp = await fetch(url);} catch(err){console.error("The thread URL that failed is "+url+".","The error was "+err);return}
var html = await resp.text()
It worked last time around 2 month ago, and now when I run it i get the html of the following page :
2J9QSutQCQZqn3DARjwzcg.png

Is there a new anti spam measure? and how can I still fetch the html with an open source code without putting in my login info?

Thanks in advance!
guest accounts are not given full access to forum features, so something you’re trying to access is getting you redirected to the login page since you can’t access it without an account
 
Back
Top