Let extractors omit ext in formats

This commit is contained in:
Philipp Hagemeister 2013-10-28 11:28:02 +01:00
parent 77d0a82fef
commit c1002e96e9
2 changed files with 3 additions and 1 deletions

View file

@ -71,7 +71,6 @@ class AddAnimeIE(InfoExtractor):
formats.append({
'format_id': format_id,
'url': video_url,
'ext': video_url[-3:],
})
if not formats:
raise ExtractorError(u'Cannot find any video format!')