projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8085fc1
)
[bbccouk] Fix vpid warning
author
Sergey M․
<dstftw@gmail.com>
Sat, 13 Dec 2014 12:47:34 +0000
(18:47 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 13 Dec 2014 12:47:34 +0000
(18:47 +0600)
youtube_dl/extractor/bbccouk.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/bbccouk.py
b/youtube_dl/extractor/bbccouk.py
index 01c02d360cd7255b14aa7aa8259de52e44701884..2d2f742aee26062af0c52a30dc5f017290daf51e 100644
(file)
--- a/
youtube_dl/extractor/bbccouk.py
+++ b/
youtube_dl/extractor/bbccouk.py
@@
-209,7
+209,7
@@
class BBCCoUkIE(SubtitlesInfoExtractor):
webpage = self._download_webpage(url, group_id, 'Downloading video page')
programme_id = self._search_regex(
- r'"vpid"\s*:\s*"([\da-z]{8})"', webpage, 'vpid', fatal=False)
+ r'"vpid"\s*:\s*"([\da-z]{8})"', webpage, 'vpid', fatal=False
, default=None
)
if programme_id:
player = self._download_json(
'http://www.bbc.co.uk/iplayer/episode/%s.json' % group_id,