formats sorted

This commit is contained in:
iamevn 2017-05-04 22:59:11 -04:00
parent 3810bcdd0a
commit 957a681148
2 changed files with 5 additions and 2 deletions

View File

@ -286,6 +286,7 @@
- **Freesound** - **Freesound**
- **freespeech.org** - **freespeech.org**
- **FreshLive** - **FreshLive**
- **Full30**
- **Funimation** - **Funimation**
- **FunnyOrDie** - **FunnyOrDie**
- **Fusion** - **Fusion**

View File

@ -8,10 +8,10 @@ class Full30IE(InfoExtractor):
_VALID_URL = r'https?://(?:www\.)?full30\.com/video/(?P<id>[a-f0-9]+)' _VALID_URL = r'https?://(?:www\.)?full30\.com/video/(?P<id>[a-f0-9]+)'
_TEST = { _TEST = {
'url': 'http://www.full30.com/video/b2a28b99494164ddd55e91a6c4648cbc', 'url': 'http://www.full30.com/video/b2a28b99494164ddd55e91a6c4648cbc',
'md5': '88f6812042afaf60f74dbcd84d4491c2', 'md5': 'f5aa3862cbe35c2083ce050ac1a5eb06',
'info_dict': { 'info_dict': {
'id': 'b2a28b99494164ddd55e91a6c4648cbc', 'id': 'b2a28b99494164ddd55e91a6c4648cbc',
'ext': 'webm', 'ext': 'ogv',
'title': 'Flamethrower Q&A with Charlie Hobson', 'title': 'Flamethrower Q&A with Charlie Hobson',
'thumbnail': r're:^https?://.*52130\.jpg$', 'thumbnail': r're:^https?://.*52130\.jpg$',
'uploader' : 'Forgotten Weapons', 'uploader' : 'Forgotten Weapons',
@ -51,6 +51,8 @@ class Full30IE(InfoExtractor):
"protocol" : "https" "protocol" : "https"
}) })
self._sort_formats(formats)
return { return {
'id': video_id, 'id': video_id,
'title': title, 'title': title,