projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9c7a97
)
[bbccouk] Fix fallback to legacy playlist
author
Sergey M․
<dstftw@gmail.com>
Sun, 15 Feb 2015 10:32:38 +0000
(16:32 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Sun, 15 Feb 2015 10:32:38 +0000
(16:32 +0600)
youtube_dl/extractor/bbccouk.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/bbccouk.py
b/youtube_dl/extractor/bbccouk.py
index 126c8824cccedbca287ac3ebfc92d1a5e2d93b57..f23e3954519546b91307189b1e14076ca1c4abe9 100644
(file)
--- a/
youtube_dl/extractor/bbccouk.py
+++ b/
youtube_dl/extractor/bbccouk.py
@@
-273,7
+273,7
@@
class BBCCoUkIE(SubtitlesInfoExtractor):
formats, subtitles = self._download_media_selector(programme_id)
return programme_id, title, description, duration, formats, subtitles
except ExtractorError as ee:
- if not
isinstance(ee.cause, compat_HTTPError) and ee.cause.code == 404
:
+ if not
(isinstance(ee.cause, compat_HTTPError) and ee.cause.code == 404)
:
raise
# fallback to legacy playlist