[YoutubeDL] Do not require default output template to be set

This commit is contained in:
Philipp Hagemeister 2014-04-30 10:02:03 +02:00
parent b30b8698ea
commit acd69589a5
4 changed files with 12 additions and 6 deletions

View file

@ -31,7 +31,7 @@ class VineIE(InfoExtractor):
data = json.loads(self._html_search_regex(
r'window\.POST_DATA = { %s: ({.+?}) }' % video_id, webpage, 'vine data'))
print(json.dumps(data, indent=2))
formats = [
{
'url': data['videoLowURL'],
@ -57,4 +57,4 @@ class VineIE(InfoExtractor):
'comment_count': data['comments']['count'],
'repost_count': data['reposts']['count'],
'formats': formats,
}
}