Browse Source

[pbs] Make flp embed lookup non fatal

master
Sergey M․ 9 years ago
parent
commit
21d0c33ecd
1 changed files with 1 additions and 1 deletions
  1. 2
      youtube_dl/extractor/pbs.py

2
youtube_dl/extractor/pbs.py

@ -210,7 +210,7 @@ class PBSIE(InfoExtractor):
# Fronline video embedded via flp # Fronline video embedded via flp
video_id = self._search_regex( video_id = self._search_regex(
r'videoid\s*:\s*"([\d+a-z]{7,})"', webpage, 'videoid')
r'videoid\s*:\s*"([\d+a-z]{7,})"', webpage, 'videoid', default=None)
if video_id: if video_id:
# pkg_id calculation is reverse engineered from # pkg_id calculation is reverse engineered from
# http://www.pbs.org/wgbh/pages/frontline/js/flp2012.js # http://www.pbs.org/wgbh/pages/frontline/js/flp2012.js

Loading…
Cancel
Save