Browse Source

[npo:live] Fix live stream id extraction (closes #13568)

rrooij 8 years ago
parent
commit
7a57730907
1 changed files with 1 additions and 1 deletions
  1. 1 1
      youtube_dl/extractor/npo.py

+ 1 - 1
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',