Brawl345 / Get-DMAX-Links

Get links of Discovery shows and a specific season and/or episode
MIT License
21 stars 6 forks source link

No ShowID #18

Closed Jauntiness closed 1 year ago

Jauntiness commented 1 year ago

Hi,

thank you for the tool. It appears to me that the websites code has changed - I cant find the showid any longer. Or is it only on my end?

Cheers

Brawl345 commented 1 year ago

Yes, it has changed. I haven't had the time to look into where the ID is now. But you can also directly download episodes with youtube-dl or yt-dlp without this tool.

Jauntiness commented 1 year ago

Thanks for the quick reply! I was testing youtube-dl, but by simply using the show https link I am recieving an unsupported URL error. Or is there some better way?

Brawl345 commented 1 year ago

It only works with episodes. You need to click on "Alle Videos zur Sendung" and then copy the links from there.

Maysi2k commented 1 year ago

The Episodes has now this URL:

https://d**x.de/sendungen/steel-buddies/panzer-alarm-im-westerwald

i have take a look with the "Entwicklertools" in Firefox. i have't found a ShowID until now. Maybe this Value is now called 'dmaxde_xxxx', cause a had one hit with an old ShowID-Number.

But i can't repeat this this case.

The old ShowIDs are still working.

BG,

EDIT:

i found it: Is in the JSON package from the ''eu1-prod.disco-api.com'' host.

Bildschirm­foto 2022-11-16 um 21 02 53
einfachruschi commented 1 year ago

I no longer saved the ShowIDs. I couldn't find anything in the source code under 'dmaxde_xxxx', where exactly is this entry? Is there already a solution here?

Jauntiness commented 1 year ago

Hmm, I still recieve error "ERROR: Unable to download JSON metadata: HTTP Error 404: Not found (caused by <HTTPError 404: 'Not Found'>) I will just stream it :) Thanks anyways!

hrueppert commented 1 year ago

It seems that they are use the asset ID again.

Maybe it is possible to import this function from the python branch into the actual branch.

@heinrichhalle99 as workaround use the python branch here. That version will still download the episodes

Brawl345 commented 1 year ago

You can find all show ids here:

Found it while going to "Sendungen" on DMAX.DE - they load the whole show list as JSON over JavaScript. You can find every show with their show Id there.

Jauntiness commented 1 year ago

Nice, thank you!