1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-12-21 23:03:10 +08:00

[pbs] add another media id regex

This commit is contained in:
Remita Amine 2017-11-27 16:55:08 +01:00
parent ffe6979ef9
commit 53f024e7c5

View File

@ -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(