[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:
parent
8b347a389e
commit
97338228b8
@ -341,7 +341,7 @@ class NPOLiveIE(NPOBaseIE):
|
|||||||
webpage = self._download_webpage(url, display_id)
|
webpage = self._download_webpage(url, display_id)
|
||||||
|
|
||||||
live_id = self._search_regex(
|
live_id = self._search_regex(
|
||||||
r'data-prid="([^"]+)"', webpage, 'live id')
|
[r'media-id="([^"]+)"', r'data-prid="([^"]+)"'], webpage, 'live id')
|
||||||
|
|
||||||
return {
|
return {
|
||||||
'_type': 'url_transparent',
|
'_type': 'url_transparent',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user