[xnxx] Replace test

pull/2/head
Sergey M․ 9 years ago
parent 73843ae8ac
commit 97674f0419
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

@ -8,12 +8,12 @@ from ..compat import compat_urllib_parse_unquote
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)\.xnxx\.com/video-?(?P<id>[0-9a-z]+)/(.*)'
_TESTS = [{ _TESTS = [{
'url': 'http://www.xnxx.com/video-6gqggeb/hd_star-581_sam', 'url': 'http://www.xnxx.com/video-55awb78/skyrim_test_video',
'md5': '6a2a6aff3f10467d94e572edb7b7deb6', 'md5': 'ef7ecee5af78f8b03dca2cf31341d3a0',
'info_dict': { 'info_dict': {
'id': '6gqggeb', 'id': '55awb78',
'ext': 'flv', 'ext': 'flv',
'title': 'HD STAR-581 sam', 'title': 'Skyrim Test Video',
'age_limit': 18, 'age_limit': 18,
}, },
}, { }, {

Loading…
Cancel
Save