From 7ae04d81ebb34f34bee46c00dd01a96d5c518fbb Mon Sep 17 00:00:00 2001 From: PC Date: Thu, 15 Oct 2015 19:00:22 +0100 Subject: [PATCH] extractor descriptions --- docs/supportedsites.md | 1 - youtube_dl/extractor/iol.py | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/supportedsites.md b/docs/supportedsites.md index 487b7bd5c..e04fb6be2 100644 --- a/docs/supportedsites.md +++ b/docs/supportedsites.md @@ -324,7 +324,6 @@ - **Instagram** - **instagram:user**: Instagram user profile - **InternetVideoArchive** - - **IOL**: iol.pt sites (tvi archive/stream and maisfutebol) - **IPrima** - **iqiyi**: 爱奇艺 - **Ir90Tv** diff --git a/youtube_dl/extractor/iol.py b/youtube_dl/extractor/iol.py index 2bc7dbf7a..a3adc3924 100644 --- a/youtube_dl/extractor/iol.py +++ b/youtube_dl/extractor/iol.py @@ -8,6 +8,8 @@ import re class IOLIE(InfoExtractor): + IE_NAME = 'IOL' + IE_DESC = 'iol.pt sites (tvi archive and maisfutebol)' _VALID_URL = r'https?://[^/]*\.iol\.pt/.*/(?P[0-9a-f]{24})($|\/)' _TESTS = [{ 'url': 'http://tviplayer.iol.pt/programa/euromilhoes/53c6b3153004dc006243b07b/video/55f878f90cf203f8b03cea6d', @@ -135,6 +137,8 @@ class IOLIE(InfoExtractor): class IOLStreamIE(IOLIE): + IE_NAME = 'IOL:stream' + IE_DESC = 'iol.pt stream sites' _VALID_URL = r'http://tviplayer\.iol\.pt/direto/(?P\S+)' _TESTS = [{ 'url': 'http://tviplayer.iol.pt/direto/TVI',