]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[openload] Add support for oload.vip (closes #22205)
authorSergey M․ <dstftw@gmail.com>
Tue, 27 Aug 2019 18:58:07 +0000 (01:58 +0700)
committerSergey M․ <dstftw@gmail.com>
Tue, 27 Aug 2019 18:58:07 +0000 (01:58 +0700)
youtube_dl/extractor/openload.py

index 03035525766daaa2ece14c6a31e549099b7d430b..ab4980d4d8f96869fff6d7812b25be946a97279a 100644 (file)
@@ -243,7 +243,12 @@ class PhantomJSwrapper(object):
 
 
 class OpenloadIE(InfoExtractor):
-    _DOMAINS = r'(?:openload\.(?:co|io|link|pw)|oload\.(?:tv|best|biz|stream|site|xyz|win|download|cloud|cc|icu|fun|club|info|press|pw|life|live|space|services|website)|oladblock\.(?:services|xyz|me)|openloed\.co)'
+    _DOMAINS = r'''(?x)
+                    (?:
+                        openload\.(?:co|io|link|pw)|
+                        oload\.(?:tv|best|biz|stream|site|xyz|win|download|cloud|cc|icu|fun|club|info|press|pw|life|live|space|services|website|vip)|
+                        oladblock\.(?:services|xyz|me)|openloed\.co)
+                    '''
     _VALID_URL = r'''(?x)
                     https?://
                         (?P<host>
@@ -383,6 +388,9 @@ class OpenloadIE(InfoExtractor):
     }, {
         'url': 'https://openloed.co/f/b8NWEgkqNLI/',
         'only_matching': True,
+    }, {
+        'url': 'https://oload.vip/f/kUEfGclsU9o',
+        'only_matching': True,
     }]
 
     @classmethod