projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[youku] Change video_id and add a multipart test case
[youtube-dl]
/
youtube_dl
/
extractor
/
xtube.py
diff --git
a/youtube_dl/extractor/xtube.py
b/youtube_dl/extractor/xtube.py
index 95f1c8f3cf20bdd83b3e524808e5c5fb20cde680..1644f53c876329f053406be3d3dc1aa463cddc1b 100644
(file)
--- a/
youtube_dl/extractor/xtube.py
+++ b/
youtube_dl/extractor/xtube.py
@@
-22,7
+22,7
@@
class XTubeIE(InfoExtractor):
'id': 'kVTUy_G222_',
'ext': 'mp4',
'title': 'strange erotica',
'id': 'kVTUy_G222_',
'ext': 'mp4',
'title': 'strange erotica',
- 'description': '
http://www.xtube.com
an ET kind of thing',
+ 'description': '
contains:
an ET kind of thing',
'uploader': 'greenshowers',
'duration': 450,
'age_limit': 18,
'uploader': 'greenshowers',
'duration': 450,
'age_limit': 18,
@@
-95,6
+95,7
@@
class XTubeUserIE(InfoExtractor):
'url': 'http://www.xtube.com/community/profile.php?user=greenshowers',
'info_dict': {
'id': 'greenshowers',
'url': 'http://www.xtube.com/community/profile.php?user=greenshowers',
'info_dict': {
'id': 'greenshowers',
+ 'age_limit': 18,
},
'playlist_mincount': 155,
}
},
'playlist_mincount': 155,
}
@@
-124,6
+125,7
@@
class XTubeUserIE(InfoExtractor):
return {
'_type': 'playlist',
'id': username,
return {
'_type': 'playlist',
'id': username,
+ 'age_limit': 18,
'entries': [{
'_type': 'url',
'url': eurl,
'entries': [{
'_type': 'url',
'url': eurl,