ytdl-org / youtube-dl

Command-line program to download videos from YouTube.com and other video sites
http://ytdl-org.github.io/youtube-dl/
The Unlicense
132.23k stars 10.03k forks source link

Add support for series pages/playlists of 7TV (prosiebensat1 Extractor) #20404

Closed DerBunteBall closed 5 years ago

DerBunteBall commented 5 years ago

Please follow the guide below


Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2019.03.18. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

Before submitting an issue make sure you have:

What is the purpose of your issue?


The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue


If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):

[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2019.03.18
[debug] Python version 2.7.11 - Windows-2003Server-5.2.3790-SP2
[debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4
[debug] Proxy map: {}
...
<end of log>
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'https://www.7tv.de/richterin-barbara-salesch/ganze-folgen']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.03.18
[debug] Python version 2.7.16 (CPython) - Darwin-18.2.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 4.1.1, ffprobe 4.1.1, phantomjs 2.1.1, rtmpdump 2.4
[debug] Proxy map: {}
[prosiebensat1] richterin-barbara-salesch/ganze-folgen: Downloading webpage
ERROR: Unsupported page type frontpage
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 794, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 529, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/prosiebensat1.py", line 455, in _real_extract
    'Unsupported page type %s' % page_type, expected=True)
ExtractorError: Unsupported page type frontpage

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.


Playlist: https://www.7tv.de/richterin-barbara-salesch/ganze-folgen

Description of your issue, suggested solution and other information

Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible. If work on your issue requires account credentials please provide them or explain how one can obtain them.

The download of single videos is working fine. They have something like series pages which show all available full episodes of a series/show/whatever. It would be nice when they could be downloaded as a playlist like youtube:playlist, TVNowAnnual.

As a note: I know at least nothing about webdevelopment but it seems the page uses AJAX for loading e.g. more episodes. There is this "MEHR ANZEIGEN" button which loads more episodes. These button disappears after 4-5 times clicked when all apisodes are shown (as far as I know up to 120 episodes). These button has the CSS class "teaser-load-more" and has a click event. These event calls a JavaScript function named loadMoreItems. These function seems to build a URL which throws back the episodes in HTML (as article elements). I don't know how these calls work exactly, these are my thoughts:

The URL for the above link is this https://www.7tv.de/psdflow/ajaxblock/(block)/1600530d298d8cd1de1e560337538f82/(offset)/24/(limit)/24/(node_id)/2358

The URL is unique in a series or a call (not sure). The scheme stays the same. I think the URL gets modified in the number after offset. I think the values are steps like 0/1, 24, 48, 72, 96 (at 96 we would be at 120 (96 + limit = 96 + 24)). It seems these URL wants no cookies or auth. As far as I can see the page generates cookies in JavaScript.

That's all I could find out in a few minutes as a n00b.

Eventually someone is able to build an extractor for this.

Best Regards

P.S. Sorry for my bad english :-D

DerBunteBall commented 5 years ago

Portal closed.