projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f300353
)
raise ExtractorError if the page doesn't contain a video
author
remitamine
<remitamine@gmail.com>
Thu, 5 Nov 2015 17:01:13 +0000
(18:01 +0100)
committer
remitamine
<remitamine@gmail.com>
Thu, 5 Nov 2015 17:01:13 +0000
(18:01 +0100)
youtube_dl/extractor/flickr.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/flickr.py
b/youtube_dl/extractor/flickr.py
index e97754d36e734da8cdb4be23fe7b225d8d4b86d1..92d2ac55393d708de36a3b624e7f36920aa6a67b 100644
(file)
--- 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)