aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSergey M․ <[email protected]>2016-09-27 21:37:33 +0700
committerSergey M․ <[email protected]>2016-09-27 21:37:33 +0700
commitf9dd86a112835e04e271e8d1d844f250e6ff0c5e (patch)
tree1235e23a7a7abdba117a23af019cd824c49f3cb6
parent2342733f850c979c6f23ea2e83dfcb176fb08fa5 (diff)
downloadyoutube-dl-f9dd86a112835e04e271e8d1d844f250e6ff0c5e.tar.gz
youtube-dl-f9dd86a112835e04e271e8d1d844f250e6ff0c5e.zip
[npo] Clarify IE_NAMEs (Closes #10775)
-rw-r--r--youtube_dl/extractor/npo.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/youtube_dl/extractor/npo.py b/youtube_dl/extractor/npo.py
index 66035a77c..9c7cc777b 100644
--- a/youtube_dl/extractor/npo.py
+++ b/youtube_dl/extractor/npo.py
@@ -497,6 +497,7 @@ class VPROIE(NPOPlaylistBaseIE):
class WNLIE(NPOPlaylistBaseIE):
+ IE_NAME = 'wnl'
_VALID_URL = r'https?://(?:www\.)?omroepwnl\.nl/video/detail/(?P<id>[^/]+)__\d+'
_PLAYLIST_TITLE_RE = r'(?s)<h1[^>]+class="subject"[^>]*>(.+?)</h1>'
_PLAYLIST_ENTRY_RE = r'<a[^>]+href="([^"]+)"[^>]+class="js-mid"[^>]*>Deel \d+'
@@ -512,6 +513,7 @@ class WNLIE(NPOPlaylistBaseIE):
class AndereTijdenIE(NPOPlaylistBaseIE):
+ IE_NAME = 'anderetijden'
_VALID_URL = r'https?://(?:www\.)?anderetijden\.nl/programma/(?:[^/]+/)+(?P<id>[^/?#&]+)'
_PLAYLIST_TITLE_RE = r'(?s)<h1[^>]+class=["\'].*?\bpage-title\b.*?["\'][^>]*>(.+?)</h1>'
_PLAYLIST_ENTRY_RE = r'<figure[^>]+class=["\']episode-container episode-page["\'][^>]+data-prid=["\'](.+?)["\']'