]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[openload] Add support for openload.pw and oload.pw (closes #18930)
authorSergey M․ <dstftw@gmail.com>
Wed, 30 Jan 2019 17:15:45 +0000 (00:15 +0700)
committerSergey M․ <dstftw@gmail.com>
Wed, 30 Jan 2019 17:15:45 +0000 (00:15 +0700)
youtube_dl/extractor/openload.py

index 747aa298ab5f6aa6d6b6c84877929bcd5d88a496..a2ae252723cf8fdcfe24ba09c5d7dd69e42f52bd 100644 (file)
@@ -248,8 +248,8 @@ class OpenloadIE(InfoExtractor):
                         (?P<host>
                             (?:www\.)?
                             (?:
-                                openload\.(?:co|io|link)|
-                                oload\.(?:tv|stream|site|xyz|win|download|cloud|cc|icu|fun|club|info)
+                                openload\.(?:co|io|link|pw)|
+                                oload\.(?:tv|stream|site|xyz|win|download|cloud|cc|icu|fun|club|info|pw)
                             )
                         )/
                         (?:f|embed)/
@@ -340,6 +340,12 @@ class OpenloadIE(InfoExtractor):
     }, {
         'url': 'https://oload.info/f/5NEAbI2BDSk',
         'only_matching': True,
+    }, {
+        'url': 'https://openload.pw/f/WyKgK8s94N0',
+        'only_matching': True,
+    }, {
+        'url': 'https://oload.pw/f/WyKgK8s94N0',
+        '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'