aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--youtube_dl/extractor/flickr.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/youtube_dl/extractor/flickr.py b/youtube_dl/extractor/flickr.py
index e97754d36..92d2ac553 100644
--- a/youtube_dl/extractor/flickr.py
+++ b/youtube_dl/extractor/flickr.py
@@ -79,3 +79,5 @@ class FlickrIE(InfoExtractor):
'uploader': owner.get('realname'),
'comment_count': int_or_none(video_info.get('comments', {}).get('_content')),
}
+ else:
+ raise ExtractorError('not a video', expected=True)