projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
91e6a38
)
Removed inaccurate warning
author
Philipp Hagemeister
<phihag@phihag.de>
Fri, 22 Jul 2011 13:28:42 +0000
(15:28 +0200)
committer
Philipp Hagemeister
<phihag@phihag.de>
Fri, 22 Jul 2011 13:28:42 +0000
(15:28 +0200)
youtube-dl
patch
|
blob
|
history
diff --git
a/youtube-dl
b/youtube-dl
index 07904604cf9681cae2b0c4573758ccb03f2a502c..17a2da2ef329a72d50afce451fd0f6c5661cf642 100755
(executable)
--- a/
youtube-dl
+++ b/
youtube-dl
@@
-1233,7
+1233,6
@@
class YoutubeIE(InfoExtractor):
except NameError:
video_description = u'No description available.'
if self._downloader.params.get('forcedescription', False) or self._downloader.params.get('writedescription', False):
except NameError:
video_description = u'No description available.'
if self._downloader.params.get('forcedescription', False) or self._downloader.params.get('writedescription', False):
- warnings.warn(u'You are using an old Python version, install Python 2.6+ or lxml. Falling back to old video description extractor.')
mobj = re.search(r'<meta name="description" content="(.*)"(?:\s*/)?>', video_webpage)
if mobj is not None:
video_description = mobj.group(1).decode('utf-8')
mobj = re.search(r'<meta name="description" content="(.*)"(?:\s*/)?>', video_webpage)
if mobj is not None:
video_description = mobj.group(1).decode('utf-8')