projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d34f982
)
[xtube] Fix uploader regex
author
Sergey M․
<dstftw@gmail.com>
Fri, 2 Jan 2015 15:46:57 +0000
(21:46 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Fri, 2 Jan 2015 15:46:57 +0000
(21:46 +0600)
youtube_dl/extractor/xtube.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/xtube.py
b/youtube_dl/extractor/xtube.py
index cf74d4fd5059af368d72b845c15f3e1415e6481c..95f1c8f3cf20bdd83b3e524808e5c5fb20cde680 100644
(file)
--- a/
youtube_dl/extractor/xtube.py
+++ b/
youtube_dl/extractor/xtube.py
@@
-40,7
+40,7
@@
class XTubeIE(InfoExtractor):
r'<p class="title">([^<]+)', webpage, 'title')
video_uploader = self._html_search_regex(
[r"var\s+contentOwnerId\s*=\s*'([^']+)",
- r'By:\s*<a href="/community/profile\.php?user=([^"]+)'],
+ r'By:\s*<a href="/community/profile\.php
\
?user=([^"]+)'],
webpage, 'uploader', fatal=False)
video_description = self._html_search_regex(
r'<p class="fieldsDesc">([^<]+)',