aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/pbs.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-11-07 01:08:40 +0600
committerSergey M․ <dstftw@gmail.com>2015-11-07 01:08:40 +0600
commit21d0c33ecde573db961b97f5f0c37ba9d3c02ff3 (patch)
treeb0df9c4249c2f12159e576dd43cea556832380f8 /youtube_dl/extractor/pbs.py
parent8b6d9406db1d3361b006016e6aace54b05cb6fea (diff)
downloadyoutube-dl-21d0c33ecde573db961b97f5f0c37ba9d3c02ff3.tar.xz
[pbs] Make flp embed lookup non fatal
Diffstat (limited to 'youtube_dl/extractor/pbs.py')
-rw-r--r--youtube_dl/extractor/pbs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/pbs.py b/youtube_dl/extractor/pbs.py
index a690f9c29..8fb9b1849 100644
--- a/youtube_dl/extractor/pbs.py
+++ b/youtube_dl/extractor/pbs.py
@@ -210,7 +210,7 @@ class PBSIE(InfoExtractor):
# Fronline video embedded via flp
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:
# pkg_id calculation is reverse engineered from
# http://www.pbs.org/wgbh/pages/frontline/js/flp2012.js