From: Remita Amine Date: Mon, 27 Nov 2017 15:55:08 +0000 (+0100) Subject: [pbs] add another media id regex X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=53f024e7c5bcea57b2446b3b5550801c011736d1;p=youtube-dl [pbs] add another media id regex --- diff --git a/youtube_dl/extractor/pbs.py b/youtube_dl/extractor/pbs.py index b51dcbe10..f11d5da52 100644 --- a/youtube_dl/extractor/pbs.py +++ b/youtube_dl/extractor/pbs.py @@ -421,6 +421,7 @@ class PBSIE(InfoExtractor): r'class="coveplayerid">([^<]+)<', # coveplayer r']+data-coveid="(\d+)"', # coveplayer from http://www.pbs.org/wgbh/frontline/film/real-csi/ r'', # jwplayer + r"(?s)window\.PBS\.playerConfig\s*=\s*{.*?id\s*:\s*'([0-9]+)',", ] media_id = self._search_regex(