aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-02-15 16:32:38 +0600
committerSergey M․ <dstftw@gmail.com>2015-02-15 16:32:38 +0600
commitf813928e4b669627007b772c9b150eed135b18be (patch)
tree349197df4aea25290c1830ceae887ac72ae90c21 /youtube_dl
parentb9c7a97318f4ca68cacf0ff5395c0d4a6f74b525 (diff)
[bbccouk] Fix fallback to legacy playlist
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/bbccouk.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/bbccouk.py b/youtube_dl/extractor/bbccouk.py
index 126c8824c..f23e39545 100644
--- 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