ArjixWasTaken / my-userscripts

A repository containing my userscripts
https://greasyfork.org/en/users/374516-arjix
MIT License
20 stars 5 forks source link

Doesn't work for some workshops #8

Closed gaosen1 closed 2 years ago

gaosen1 commented 2 years ago

This userscript is amazing! But sometimes it doesn't work. When I download the latest workshop of WallpaperEngine, I get an error: Status: Failed to find download link. But when I downloaded the workshop from a few years ago, it did work. I guess it may be that WallpaperEngine does some protection mechanism.

Browser console print information:

{
"method": "GET",
"url": "http://steamworkshop.download/download/view/2870209872"
}
{
"method": "POST",
"data": "app=431960&item=2870209872",
"headers": {
"Content-Type": "application/x-www-form-urlencoded",
"Host": "steamworkshop.download",
"Origin": "http://steamworkshop.download",
"Referer": "http://steamworkshop.download/download/view/2870209872"
},
"url": "http://steamworkshop.download/online/steamonline.php"
}

No download link found for 2870209872

1 Please ignore the last warning,it's not relevant...

ArjixWasTaken commented 2 years ago

Lmao, this was still working? Wow

Anyways, valve AKA steam has changed how workshop downloads work, so the things you could download using my userscript are things that were previously cached by the website im using to download them.

Anything recent is not cached, therefore won't download.

So even if you can download an item, it might be out of date compared to the one on the workshop.

Sadly that's the truth, you need to own the game to freely download from the workshop.

KAGEYAM4 commented 2 years ago

@ArjixWasTaken you should update the readme , if not then people will still try to use it and waste there time and create a issue here later.

ArjixWasTaken commented 2 years ago

I guess I'll do just that.

gaosen1 commented 2 years ago

All right.What a pity.

Lmao, this was still working? Wow

Anyways, valve AKA steam has changed how workshop downloads work, so the things you could download using my userscript are things that were previously cached by the website im using to download them.

Anything recent is not cached, therefore won't download.

So even if you can download an item, it might be out of date compared to the one on the workshop.

Sadly that's the truth, you need to own the game to freely download from the workshop.