]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[npo:live] Fix live stream id extraction (closes #13568)
authorrrooij <rrooij@users.noreply.github.com>
Sun, 9 Jul 2017 07:21:40 +0000 (09:21 +0200)
committerSergey M <dstftw@gmail.com>
Sun, 9 Jul 2017 07:21:40 +0000 (14:21 +0700)
youtube_dl/extractor/npo.py

index 5f8b6def1251b711a3d373c53cd3e1bd8e7645f2..516b1e94147abc76f4cde13652ac2ef9153e6046 100644 (file)
@@ -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',