]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[openload] Recognize oload.tv URLs (#10408)
authorYen Chi Hsuan <yan12125@gmail.com>
Thu, 15 Dec 2016 09:51:26 +0000 (17:51 +0800)
committerYen Chi Hsuan <yan12125@gmail.com>
Thu, 15 Dec 2016 09:51:26 +0000 (17:51 +0800)
ChangeLog
youtube_dl/extractor/openload.py

index 428ade1e6e140ecda03c0e2fa81d476763c27605..7ff8d3502b22cdce5cff9f31fd7efad3bf247952 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 version <unreleased>
 
 Extractors
++ [openload] Recognize oload.tv URLs (#10408)
 + [facebook] Recognize .onion URLs (#11443)
 
 version 2016.12.12
index 84aa1258541dabd6da12ceb077eee25ca5a7453c..8c5ec72d947b785ebeb3994dd2234f690d9961e6 100644 (file)
@@ -10,7 +10,7 @@ from ..utils import (
 
 
 class OpenloadIE(InfoExtractor):
-    _VALID_URL = r'https?://openload\.(?:co|io)/(?:f|embed)/(?P<id>[a-zA-Z0-9-_]+)'
+    _VALID_URL = r'https?://(?:openload\.(?:co|io)|oload\.tv)/(?:f|embed)/(?P<id>[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):