[xnxx] Add xnxx3.com (#3188)

Authored by: rozari0
This commit is contained in:
Daniel 2022-03-30 16:54:35 +06:00 committed by GitHub
parent 48e15bb6b1
commit ab2579bb45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,7 @@ from ..utils import (
class XNXXIE(InfoExtractor): class XNXXIE(InfoExtractor):
_VALID_URL = r'https?://(?:video|www)\.xnxx\.com/video-?(?P<id>[0-9a-z]+)/' _VALID_URL = r'https?://(?:video|www)\.xnxx3?\.com/video-?(?P<id>[0-9a-z]+)/'
_TESTS = [{ _TESTS = [{
'url': 'http://www.xnxx.com/video-55awb78/skyrim_test_video', 'url': 'http://www.xnxx.com/video-55awb78/skyrim_test_video',
'md5': '7583e96c15c0f21e9da3453d9920fbba', 'md5': '7583e96c15c0f21e9da3453d9920fbba',
@ -32,6 +32,9 @@ class XNXXIE(InfoExtractor):
}, { }, {
'url': 'http://www.xnxx.com/video-55awb78/', 'url': 'http://www.xnxx.com/video-55awb78/',
'only_matching': True, 'only_matching': True,
}, {
'url': 'http://www.xnxx3.com/video-55awb78/',
'only_matching': True,
}] }]
def _real_extract(self, url): def _real_extract(self, url):