[npo] fix live stream id regex

NPO Live has a new page with the ID stored somewhere else. The regex for
fetching the ID is now updated for the new site.

Fixes #13568
This commit is contained in:
rrooij 2017-07-08 20:34:37 +02:00
parent 8b347a389e
commit 97338228b8

View 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',