aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2016-12-15 17:51:26 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2016-12-15 17:51:26 +0800
commit5c32a5be959f04b793f2e9264e9201b4efff3e40 (patch)
treefaf196bf95b6afa48937f203aa47db62e41acd0f /youtube_dl
parent30918999f5fa3e5fc11e5b83f2f4aef0358965a0 (diff)
[openload] Recognize oload.tv URLs (#10408)
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/openload.py5
1 files changed, 4 insertions, 1 deletions
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<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):