aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/npo.py
diff options
context:
space:
mode:
authorrrooij <rrooij@users.noreply.github.com>2017-07-09 09:21:40 +0200
committerSergey M <dstftw@gmail.com>2017-07-09 14:21:40 +0700
commit7a5773090789bec38a3f58dfb09039155919a540 (patch)
treebfe4ec46bd9fdc40283394bd0910d6787d4a7028 /youtube_dl/extractor/npo.py
parent8b347a389eaa6d545ada901c2e236a5eb2272960 (diff)
[npo:live] Fix live stream id extraction (closes #13568)
Diffstat (limited to 'youtube_dl/extractor/npo.py')
-rw-r--r--youtube_dl/extractor/npo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/npo.py b/youtube_dl/extractor/npo.py
index 5f8b6def1..516b1e941 100644
--- a/youtube_dl/extractor/npo.py
+++ b/youtube_dl/extractor/npo.py
@@ -341,7 +341,7 @@ class NPOLiveIE(NPOBaseIE):
webpage = self._download_webpage(url, display_id)
live_id = self._search_regex(
- r'data-prid="([^"]+)"', webpage, 'live id')
+ [r'media-id="([^"]+)"', r'data-prid="([^"]+)"'], webpage, 'live id')
return {
'_type': 'url_transparent',