From: rrooij Date: Sun, 9 Jul 2017 07:21:40 +0000 (+0200) Subject: [npo:live] Fix live stream id extraction (closes #13568) X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=7a5773090789bec38a3f58dfb09039155919a540;p=youtube-dl [npo:live] Fix live stream id extraction (closes #13568) --- 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',