From 957a6811487cb08106386e569c7078ae0a814f68 Mon Sep 17 00:00:00 2001 From: iamevn Date: Thu, 4 May 2017 22:59:11 -0400 Subject: [PATCH] formats sorted --- docs/supportedsites.md | 1 + youtube_dl/extractor/full30.py | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/supportedsites.md b/docs/supportedsites.md index e3c038c48..aa5124e9f 100644 --- a/docs/supportedsites.md +++ b/docs/supportedsites.md @@ -286,6 +286,7 @@ - **Freesound** - **freespeech.org** - **FreshLive** + - **Full30** - **Funimation** - **FunnyOrDie** - **Fusion** diff --git a/youtube_dl/extractor/full30.py b/youtube_dl/extractor/full30.py index c06ced2fb..047cb2de3 100644 --- a/youtube_dl/extractor/full30.py +++ b/youtube_dl/extractor/full30.py @@ -8,10 +8,10 @@ class Full30IE(InfoExtractor): _VALID_URL = r'https?://(?:www\.)?full30\.com/video/(?P[a-f0-9]+)' _TEST = { 'url': 'http://www.full30.com/video/b2a28b99494164ddd55e91a6c4648cbc', - 'md5': '88f6812042afaf60f74dbcd84d4491c2', + 'md5': 'f5aa3862cbe35c2083ce050ac1a5eb06', 'info_dict': { 'id': 'b2a28b99494164ddd55e91a6c4648cbc', - 'ext': 'webm', + 'ext': 'ogv', 'title': 'Flamethrower Q&A with Charlie Hobson', 'thumbnail': r're:^https?://.*52130\.jpg$', 'uploader' : 'Forgotten Weapons', @@ -51,6 +51,8 @@ class Full30IE(InfoExtractor): "protocol" : "https" }) + self._sort_formats(formats) + return { 'id': video_id, 'title': title,