[pbs] Add another coveplayer pattern (Closes #7674)
authorSergey M․ <dstftw@gmail.com>
Tue, 8 Dec 2015 17:34:43 +0000 (23:34 +0600)
committerSergey M․ <dstftw@gmail.com>
Tue, 8 Dec 2015 17:34:43 +0000 (23:34 +0600)
youtube_dl/extractor/pbs.py

index 7a4ed23a12d60b2ba7b8e591d5872bf74ddbd662..ab3c43cfeac01fe4ee8477afacbcdd3900d51d20 100644 (file)
@@ -208,6 +208,7 @@ class PBSIE(InfoExtractor):
             MEDIA_ID_REGEXES = [
                 r"div\s*:\s*'videoembed'\s*,\s*mediaid\s*:\s*'(\d+)'",  # frontline video embed
                 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
             ]