projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffe6979
)
[pbs] add another media id regex
author
Remita Amine
<remitamine@gmail.com>
Mon, 27 Nov 2017 15:55:08 +0000
(16:55 +0100)
committer
Remita Amine
<remitamine@gmail.com>
Mon, 27 Nov 2017 15:55:27 +0000
(16:55 +0100)
youtube_dl/extractor/pbs.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/pbs.py
b/youtube_dl/extractor/pbs.py
index b51dcbe10dd14136220516c76e6cada7f70a9b0c..f11d5da5271d91fb15f9ee006743b1360897b08e 100644
(file)
--- a/
youtube_dl/extractor/pbs.py
+++ b/
youtube_dl/extractor/pbs.py
@@
-421,6
+421,7
@@
class PBSIE(InfoExtractor):
r'class="coveplayerid">([^<]+)<', # coveplayer
r'<section[^>]+data-coveid="(\d+)"', # coveplayer from http://www.pbs.org/wgbh/frontline/film/real-csi/
r'<input type="hidden" id="pbs_video_id_[0-9]+" value="([0-9]+)"/>', # jwplayer
+ r"(?s)window\.PBS\.playerConfig\s*=\s*{.*?id\s*:\s*'([0-9]+)',",
]
media_id = self._search_regex(