[openload] Add support for openload.pw and oload.pw (closes #18930)

This commit is contained in:
Sergey M․ 2019-01-31 00:15:45 +07:00
parent 15e832ff2a
commit 9613e14a92
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D
1 changed files with 8 additions and 2 deletions

View File

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