projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
73843ae
)
[xnxx] Replace test
author
Sergey M․
<dstftw@gmail.com>
Wed, 22 Jun 2016 21:24:00 +0000
(
04:24
+0700)
committer
Sergey M․
<dstftw@gmail.com>
Wed, 22 Jun 2016 21:24:00 +0000
(
04:24
+0700)
youtube_dl/extractor/xnxx.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/xnxx.py
b/youtube_dl/extractor/xnxx.py
index f0d4cb9bc3610e233690fa071303dcadce8166a9..1e677a63b8e0faf8cdf9773c0b339f6dfa3b57c0 100644
(file)
--- a/
youtube_dl/extractor/xnxx.py
+++ b/
youtube_dl/extractor/xnxx.py
@@
-8,12
+8,12
@@
from ..compat import compat_urllib_parse_unquote
class XNXXIE(InfoExtractor):
_VALID_URL = r'^https?://(?:video|www)\.xnxx\.com/video-?(?P<id>[0-9a-z]+)/(.*)'
_TESTS = [{
class XNXXIE(InfoExtractor):
_VALID_URL = r'^https?://(?:video|www)\.xnxx\.com/video-?(?P<id>[0-9a-z]+)/(.*)'
_TESTS = [{
- 'url': 'http://www.xnxx.com/video-
6gqggeb/hd_star-581_sam
',
- 'md5': '
6a2a6aff3f10467d94e572edb7b7deb6
',
+ 'url': 'http://www.xnxx.com/video-
55awb78/skyrim_test_video
',
+ '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,
},
}, {