Browse Source

FacebookIE: Fix extraction of title as Facebook has changed stuff.

Rogério Brito 14 years ago
parent
commit
99e207bab0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      youtube-dl

+ 1 - 1
youtube-dl

@@ -2742,7 +2742,7 @@ class FacebookIE(InfoExtractor):
 	def _parse_page(self, video_webpage):
 		"""Extract video information from page"""
 		# General data
-		data = {'title': r'class="video_title datawrap">(.*?)</',
+		data = {'title': r'\("video_title", "(.*?)"\)',
 			'description': r'<div class="datawrap">(.*?)</div>',
 			'owner': r'\("video_owner_name", "(.*?)"\)',
 			'upload_date': r'data-date="(.*?)"',