From 59d4c2fe1b52a9cc51af789c43868da0a803f9f6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jaime=20Marqui=CC=81nez=20Ferra=CC=81ndiz?= Date: Sun, 17 Feb 2013 17:25:02 +0100 Subject: [PATCH] fix some titles in TED --- youtube_dl/InfoExtractors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'

(?P[\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]+).*? -- 2.22.2