Brawl345 / Get-DMAX-Links

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

Not all the shows are retrieved / Support special episodes #6

Open SteelViewer opened 4 years ago

SteelViewer commented 4 years ago

Consider the source code of the page https://dmax.de/sendungen/steel-buddies/ The dmax.py script retrieves all shows for playertype="showPlayer" showid="6023"

However there are more shows on the same page that are referenced by the following lines playertype="collectionPlayer" collectionid="steel-buddies-special-playlist" Logically these shows won't be in the xlsx file.

Is it possible to include these too?

Cheers,

Brawl345 commented 4 years ago

The specials on the Steel Buddies page are just regular episodes that are retrived normally through the script. See this pic for example:

Unbenannt

The first listed special is just a regular episode from season 6. I don't know if there are any other shows with specials that behave differently. Please correct me if I'm wrong.

SteelViewer commented 4 years ago

You're right, most of the Specials are in fact also regular episodes. I found two that are not part of a season, namely "Sonderschicht XXL:Teil 1" and "Sonderschicht XXL:Teil 2". They describe it as S1:F1 and S1:F2 but in fact that's not the case. image

BTW, thanks a lot for this great script, it's 99% perfect.

Brawl345 commented 4 years ago

Thanks, I'll look into it! In the meantime, a friend of mine wrote down the ID as "13466" for the XXL specials.

SteelViewer commented 4 years ago

Great, works fine for the XXL Specials. Thanks again for this marvellous script.

Brawl345 commented 4 years ago

No prob, I looked into it but didn't found a good way to do it... It has a collectionId in the source code, but you have to contact another URL and it's incompatible with the class I wrote so I think this requires more work.

SteelViewer commented 4 years ago

Sorry to bother you again with this anoying variance. I see today that there are plenty of small videos called "clips" that are referenced by a collectionId (collectionid="steel-buddies-clips"). image I understand that it's probably a lot of work to implement this case, I just want to pass the information along. Cheers,

dennis-th commented 3 years ago

For everyone who is looking for Unboxing 2: Michael packt aus!: ShowId is 16837 And thanks for the script!

Brawl345 commented 3 years ago

Here is a list of all currently available IDs:

Akamaru commented 3 years ago

If someone is interested, I created a gist with all working ids for dmax, hgtv and tlcde. It will be updated once a week https://gist.github.com/Akamaru/3646c47b68cccead419716f3c4a7e86e

SteelViewer commented 3 years ago

Excellent initiative. That makes things much easier.