I'm trying to make a dc bot with python and it extracts the html code of the user's page. But I can't find an accurate way to count the amount of wrs or other places set by that player. Is there any keyword that appears before of after a place? Please help if you know speedrun.com's html code The amount of wrs set on a specific category and who set them would also be very useful information
Web scraping is against the site's TOS, use the api or unofficial api (/_fedata pages) instead
But to answer your question, you could get all elements with the trophy className and then check if their parentElement's innerText is equal to 1st, 2nd, 3rd, ect.
Here is an example in javascript [...document.querySelectorAll(".trophy")].filter(x => x.parentElement.innerText == " 1st")
@YUMmy_Bacon5 I figured it out by myself, it was such a headache lol, so you find "ajax_get" on the user's page html code and then add the link to after to "speedrun.com". There you can actually acess the places (: Ps: Repeat the process for fullgame and individual But wait I cant acess do this cause of TOS? What if I ask @Meta?
[quote=Terms of Use]You may not use any scraper, crawler, spider, robot or other automated means of any kind to access or copy data on the Website, deep link to any feature or Content on the Website, or bypass our robot exclusion headers or other measures we may use to prevent or restrict access to the Website.[/quote] You might be allowed to do what you're doing if you run it in the context of the site and you could ask site staff