diff options
author | Jaime Marquínez Ferrándiz <jaimemf93@gmail.com> | 2013-02-17 17:25:02 +0100 |
---|---|---|
committer | Jaime Marquínez Ferrándiz <jaimemf93@gmail.com> | 2013-02-17 17:25:02 +0100 |
commit | 59d4c2fe1b52a9cc51af789c43868da0a803f9f6 (patch) | |
tree | 3ea7fd124641992430c24cb1f22f1d50dad3261b /youtube_dl | |
parent | 3a468f2d8b0261d4f45a7c5837f54edc33acdd8f (diff) |
fix some titles in TED
Diffstat (limited to 'youtube_dl')
-rwxr-xr-x | youtube_dl/InfoExtractors.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py index 742b036d3..086aa5da3 100755 --- a/youtube_dl/InfoExtractors.py +++ b/youtube_dl/InfoExtractors.py @@ -3975,7 +3975,7 @@ class TEDIE(InfoExtractor): videoName=m.group('videoName') webpage=self._download_webpage(url, 0, 'Downloading \"%s\" page' % videoName) #If the url includes the language we get the title translated - title_RE=r'<h1><span id="altHeadline" >(?P<title>[\s\w:/\.\?=\+-]*)</span></h1>' + title_RE=r'<h1><span id="altHeadline" >(?P<title>[\s\w:/\.\?=\+-\\\']*)</span></h1>' title=re.search(title_RE, webpage).group('title') info_RE=r'''<script\ type="text/javascript">var\ talkDetails\ =(.*?) "id":(?P<videoID>[\d]+).*? |