summary refs log tree commit diff
diff options
context:
space:
mode:
authorSergey M <dstftw@gmail.com>2019-04-16 23:50:04 +0700
committerGitHub <noreply@github.com>2019-04-16 23:50:04 +0700
commitc4341ea47ecb6ac9ea3dea89546339aa2e1d7981 (patch)
treed3d6316780e86a893c64670c6fbd6f5a99290caf
parente6c9ae31df1196dc12607b83be01141eb52b80b6 (diff)
parent6104cc15915abfe113152d24b18c84178e027265 (diff)
downloadyoutube-dl-c4341ea47ecb6ac9ea3dea89546339aa2e1d7981.tar.gz
youtube-dl-c4341ea47ecb6ac9ea3dea89546339aa2e1d7981.tar.xz
youtube-dl-c4341ea47ecb6ac9ea3dea89546339aa2e1d7981.zip
[openload] Add support for oladblock domains (#20471)
-rw-r--r--youtube_dl/extractor/openload.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/youtube_dl/extractor/openload.py b/youtube_dl/extractor/openload.py
index cc323e5e2..da9c721d2 100644
--- a/youtube_dl/extractor/openload.py
+++ b/youtube_dl/extractor/openload.py
@@ -243,7 +243,7 @@ class PhantomJSwrapper(object):
 
 
 class OpenloadIE(InfoExtractor):
-    _DOMAINS = r'(?:openload\.(?:co|io|link|pw)|oload\.(?:tv|stream|site|xyz|win|download|cloud|cc|icu|fun|club|info|pw|live|space))'
+    _DOMAINS = r'(?:openload\.(?:co|io|link|pw)|oload\.(?:tv|stream|site|xyz|win|download|cloud|cc|icu|fun|club|info|pw|live|space)|oladblock\.(?:services|xyz|me))'
     _VALID_URL = r'''(?x)
                     https?://
                         (?P<host>
@@ -350,6 +350,15 @@ class OpenloadIE(InfoExtractor):
     }, {
         'url': 'https://oload.space/f/IY4eZSst3u8/',
         'only_matching': True,
+    }, {
+        'url': 'https://oladblock.services/f/b8NWEgkqNLI/',
+        'only_matching': True,
+    }, {
+        'url': 'https://oladblock.xyz/f/b8NWEgkqNLI/',
+        'only_matching': True,
+    }, {
+        'url': 'https://oladblock.me/f/b8NWEgkqNLI/',
+        'only_matching': True,
     }]
 
     _USER_AGENT = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36'