![]() This is your most basic JS screen scraper. I took time to make it the code was (hackily) page aware and knows when to stop auto-navigating. Keep watching until the last (14th) page is scraped to see the links for saving the files get inserted. ![]() Here's a GIF of me exporting my Cities: Skylines subscriptions. You can rescrape pages or regenerate the download links if you've scraped things already. If you screw up, it'll keep the data until you close your borwser. Currently there's very basic HTML, CSV, JSON, and Plain Text. Click the link for what you want the data formatted as.Continue the above two steps until you see a box appear in the upper left hand side of the page with download links for your data.Hit the arrow or re-paste the code and hit.(No red text should show at the bottom of the console.) Wait and you'll automatically get forwarded to the next page.Paste the source code you copied onto the console and press.Press to open the Chrome Inspector panel and go to the Console tab.You may want to make sure you have it set to show 30 items per page and that it's sorted the way you want before going further. In Chrome, navigate to your Steam Workshop subscriptions page for the game you want to export.You need the text inside the file, not the file. ![]() Copy the source code contents of SWSSrape.js below. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |