projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
PEP8: applied even more rules
[youtube-dl]
/
youtube_dl
/
extractor
/
xnxx.py
diff --git
a/youtube_dl/extractor/xnxx.py
b/youtube_dl/extractor/xnxx.py
index 7a73b243080406b29b6c4a17d50a3e4d1ac023cb..53ed7ef5a6ea95826d0324bac53a71bea4913fa4 100644
(file)
--- a/
youtube_dl/extractor/xnxx.py
+++ b/
youtube_dl/extractor/xnxx.py
@@
-30,14
+30,14
@@
class XNXXIE(InfoExtractor):
webpage = self._download_webpage(url, video_id)
video_url = self._search_regex(r'flv_url=(.*?)&',
webpage = self._download_webpage(url, video_id)
video_url = self._search_regex(r'flv_url=(.*?)&',
- webpage, 'video URL')
+
webpage, 'video URL')
video_url = compat_urllib_parse.unquote(video_url)
video_title = self._html_search_regex(r'<title>(.*?)\s+-\s+XNXX.COM',
video_url = compat_urllib_parse.unquote(video_url)
video_title = self._html_search_regex(r'<title>(.*?)\s+-\s+XNXX.COM',
- webpage, 'title')
+
webpage, 'title')
video_thumbnail = self._search_regex(r'url_bigthumb=(.*?)&',
video_thumbnail = self._search_regex(r'url_bigthumb=(.*?)&',
- webpage, 'thumbnail', fatal=False)
+
webpage, 'thumbnail', fatal=False)
return {
'id': video_id,
return {
'id': video_id,