projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b347a3
)
[npo:live] Fix live stream id extraction (closes #13568)
author
rrooij
<rrooij@users.noreply.github.com>
Sun, 9 Jul 2017 07:21:40 +0000
(09:21 +0200)
committer
Sergey M
<dstftw@gmail.com>
Sun, 9 Jul 2017 07:21:40 +0000
(14:21 +0700)
youtube_dl/extractor/npo.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/npo.py
b/youtube_dl/extractor/npo.py
index 5f8b6def1251b711a3d373c53cd3e1bd8e7645f2..516b1e94147abc76f4cde13652ac2ef9153e6046 100644
(file)
--- 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',