summary refs log tree commit diff
diff options
context:
space:
mode:
authorEnes <enessolak99@gmail.com>2018-10-01 17:48:59 +0300
committerSergey M <dstftw@gmail.com>2018-10-01 21:48:59 +0700
commit9795d93316cb63e0e2a73ee840600be7f13e19f5 (patch)
treec15f37e8a2a00e5c02e8d2d42e6317c78f064d35
parent365343131d752bece96d2279a3e0bcd7e9f0000f (diff)
downloadyoutube-dl-9795d93316cb63e0e2a73ee840600be7f13e19f5.tar.gz
youtube-dl-9795d93316cb63e0e2a73ee840600be7f13e19f5.tar.xz
youtube-dl-9795d93316cb63e0e2a73ee840600be7f13e19f5.zip
[openload] Add support for oload.cloud (closes #17710)
-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 d264fe206..dc01b6346 100644
--- a/youtube_dl/extractor/openload.py
+++ b/youtube_dl/extractor/openload.py
@@ -243,7 +243,7 @@ class PhantomJSwrapper(object):
 
 
 class OpenloadIE(InfoExtractor):
-    _VALID_URL = r'https?://(?:www\.)?(?:openload\.(?:co|io|link)|oload\.(?:tv|stream|site|xyz|win|download))/(?:f|embed)/(?P<id>[a-zA-Z0-9-_]+)'
+    _VALID_URL = r'https?://(?:www\.)?(?:openload\.(?:co|io|link)|oload\.(?:tv|stream|site|xyz|win|download|cloud))/(?:f|embed)/(?P<id>[a-zA-Z0-9-_]+)'
 
     _TESTS = [{
         'url': 'https://openload.co/f/kUEfGclsU9o',
@@ -308,6 +308,9 @@ class OpenloadIE(InfoExtractor):
         'url': 'https://oload.download/f/kUEfGclsU9o',
         'only_matching': True,
     }, {
+        'url': 'https://oload.cloud/f/4ZDnBXRWiB8',
+        'only_matching': True,
+    }, {
         # Its title has not got its extension but url has it
         'url': 'https://oload.download/f/N4Otkw39VCw/Tomb.Raider.2018.HDRip.XviD.AC3-EVO.avi.mp4',
         'only_matching': True,