Browse Source

[pbs] Add another coveplayer pattern (Closes #7674)

totalwebcasting
Sergey M․ 9 years ago
parent
commit
d0c8b279da
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      youtube_dl/extractor/pbs.py

+ 1
- 0
youtube_dl/extractor/pbs.py View File

@ -208,6 +208,7 @@ class PBSIE(InfoExtractor):
MEDIA_ID_REGEXES = [ MEDIA_ID_REGEXES = [
r"div\s*:\s*'videoembed'\s*,\s*mediaid\s*:\s*'(\d+)'", # frontline video embed r"div\s*:\s*'videoembed'\s*,\s*mediaid\s*:\s*'(\d+)'", # frontline video embed
r'class="coveplayerid">([^<]+)<', # coveplayer 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'<input type="hidden" id="pbs_video_id_[0-9]+" value="([0-9]+)"/>', # jwplayer
] ]


Loading…
Cancel
Save