mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-22 10:11:52 +00:00
[npo] Clarify IE_NAMEs (Closes #10775)
This commit is contained in:
parent
2342733f85
commit
f9dd86a112
1 changed files with 2 additions and 0 deletions
|
@ -497,6 +497,7 @@ class VPROIE(NPOPlaylistBaseIE):
|
||||||
|
|
||||||
|
|
||||||
class WNLIE(NPOPlaylistBaseIE):
|
class WNLIE(NPOPlaylistBaseIE):
|
||||||
|
IE_NAME = 'wnl'
|
||||||
_VALID_URL = r'https?://(?:www\.)?omroepwnl\.nl/video/detail/(?P<id>[^/]+)__\d+'
|
_VALID_URL = r'https?://(?:www\.)?omroepwnl\.nl/video/detail/(?P<id>[^/]+)__\d+'
|
||||||
_PLAYLIST_TITLE_RE = r'(?s)<h1[^>]+class="subject"[^>]*>(.+?)</h1>'
|
_PLAYLIST_TITLE_RE = r'(?s)<h1[^>]+class="subject"[^>]*>(.+?)</h1>'
|
||||||
_PLAYLIST_ENTRY_RE = r'<a[^>]+href="([^"]+)"[^>]+class="js-mid"[^>]*>Deel \d+'
|
_PLAYLIST_ENTRY_RE = r'<a[^>]+href="([^"]+)"[^>]+class="js-mid"[^>]*>Deel \d+'
|
||||||
|
@ -512,6 +513,7 @@ class WNLIE(NPOPlaylistBaseIE):
|
||||||
|
|
||||||
|
|
||||||
class AndereTijdenIE(NPOPlaylistBaseIE):
|
class AndereTijdenIE(NPOPlaylistBaseIE):
|
||||||
|
IE_NAME = 'anderetijden'
|
||||||
_VALID_URL = r'https?://(?:www\.)?anderetijden\.nl/programma/(?:[^/]+/)+(?P<id>[^/?#&]+)'
|
_VALID_URL = r'https?://(?:www\.)?anderetijden\.nl/programma/(?:[^/]+/)+(?P<id>[^/?#&]+)'
|
||||||
_PLAYLIST_TITLE_RE = r'(?s)<h1[^>]+class=["\'].*?\bpage-title\b.*?["\'][^>]*>(.+?)</h1>'
|
_PLAYLIST_TITLE_RE = r'(?s)<h1[^>]+class=["\'].*?\bpage-title\b.*?["\'][^>]*>(.+?)</h1>'
|
||||||
_PLAYLIST_ENTRY_RE = r'<figure[^>]+class=["\']episode-container episode-page["\'][^>]+data-prid=["\'](.+?)["\']'
|
_PLAYLIST_ENTRY_RE = r'<figure[^>]+class=["\']episode-container episode-page["\'][^>]+data-prid=["\'](.+?)["\']'
|
||||||
|
|
Loading…
Reference in a new issue