From 5c32a5be959f04b793f2e9264e9201b4efff3e40 Mon Sep 17 00:00:00 2001 From: Yen Chi Hsuan Date: Thu, 15 Dec 2016 17:51:26 +0800 Subject: [PATCH] [openload] Recognize oload.tv URLs (#10408) --- ChangeLog | 1 + youtube_dl/extractor/openload.py | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 428ade1e6..7ff8d3502 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ version Extractors ++ [openload] Recognize oload.tv URLs (#10408) + [facebook] Recognize .onion URLs (#11443) version 2016.12.12 diff --git a/youtube_dl/extractor/openload.py b/youtube_dl/extractor/openload.py index 84aa12585..8c5ec72d9 100644 --- a/youtube_dl/extractor/openload.py +++ b/youtube_dl/extractor/openload.py @@ -10,7 +10,7 @@ from ..utils import ( class OpenloadIE(InfoExtractor): - _VALID_URL = r'https?://openload\.(?:co|io)/(?:f|embed)/(?P[a-zA-Z0-9-_]+)' + _VALID_URL = r'https?://(?:openload\.(?:co|io)|oload\.tv)/(?:f|embed)/(?P[a-zA-Z0-9-_]+)' _TESTS = [{ 'url': 'https://openload.co/f/kUEfGclsU9o', @@ -51,6 +51,9 @@ class OpenloadIE(InfoExtractor): # for title and ext 'url': 'https://openload.co/embed/Sxz5sADo82g/', 'only_matching': True, + }, { + 'url': 'https://oload.tv/embed/KnG-kKZdcfY/', + 'only_matching': True, }] def _real_extract(self, url):