projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[minhateca] Fix duration parsing
[youtube-dl]
/
youtube_dl
/
extractor
/
xtube.py
diff --git
a/youtube_dl/extractor/xtube.py
b/youtube_dl/extractor/xtube.py
index 273d93d9ee544b74f22daa20a195b8e4bc7b05a2..38448e7c0fbfe3641cc364a2707a97910ab16cf8 100644
(file)
--- a/
youtube_dl/extractor/xtube.py
+++ b/
youtube_dl/extractor/xtube.py
@@
-20,7
+20,7
@@
class XTubeIE(InfoExtractor):
'id': 'kVTUy_G222_',
'ext': 'mp4',
'title': 'strange erotica',
'id': 'kVTUy_G222_',
'ext': 'mp4',
'title': 'strange erotica',
- 'description': '
surreal gay themed erotica...almost
an ET kind of thing',
+ 'description': '
http://www.xtube.com
an ET kind of thing',
'uploader': 'greenshowers',
'duration': 450,
'age_limit': 18,
'uploader': 'greenshowers',
'duration': 450,
'age_limit': 18,
@@
-97,7
+97,7
@@
class XTubeUserIE(InfoExtractor):
url, username, note='Retrieving profile page')
video_count = int(self._search_regex(
url, username, note='Retrieving profile page')
video_count = int(self._search_regex(
- r'<strong>%s\'s Videos \(([0-9]+)\)</strong>'
%
username, profile_page,
+ r'<strong>%s\'s Videos \(([0-9]+)\)</strong>'
%
username, profile_page,
'video count'))
PAGE_SIZE = 25
'video count'))
PAGE_SIZE = 25