[escapist] Fix title search
authorPhilipp Hagemeister <phihag@phihag.de>
Wed, 20 Nov 2013 06:23:23 +0000 (07:23 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Wed, 20 Nov 2013 06:23:23 +0000 (07:23 +0100)
youtube_dl/extractor/escapist.py

index 2396f163bf75694476ccc5d5f267be1ec79ac242..b1242f6bc457a41a9c8413eb851671acd05cc8c0 100644 (file)
@@ -35,11 +35,11 @@ class EscapistIE(InfoExtractor):
             r'<meta name="description" content="([^"]*)"',
             webpage, u'description', fatal=False)
 
-        playerUrl = self._og_search_video_url(webpage, name='player URL')
+        playerUrl = self._og_search_video_url(webpage, name=u'player URL')
 
         title = self._html_search_regex(
-            'r<meta name="title" content="([^"]*)"',
-            webpage, u'player url').split(' : ')[-1]
+            r'<meta name="title" content="([^"]*)"',
+            webpage, u'title').split(' : ')[-1]
 
         configUrl = self._search_regex('config=(.*)$', playerUrl, u'config URL')
         configUrl = compat_urllib_parse.unquote(configUrl)