mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-12-17 22:55:42 +07:00
[pbs] Make flp embed lookup non fatal
This commit is contained in:
@@ -210,7 +210,7 @@ def _extract_webpage(self, url):
|
||||
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user