diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py
index 61ba2a1b7a..415aacd026 100755
--- a/youtube_dl/InfoExtractors.py
+++ b/youtube_dl/InfoExtractors.py
@@ -3729,13 +3729,13 @@ class YouPornIE(InfoExtractor):
webpage = self._download_webpage(req, video_id)
# Get the video title
- result = re.search(r'videoTitleArea">(?P
.*)', webpage)
+ result = re.search(r'(?P.*)', webpage)
if result is None:
- raise ExtractorError(u'ERROR: unable to extract video title')
+ raise ExtractorError(u'Unable to extract video title')
video_title = result.group('title').strip()
# Get the video date
- result = re.search(r'Date:(?P.*)', webpage)
+ result = re.search(r'Date:(?P.*) ', webpage)
if result is None:
self._downloader.to_stderr(u'WARNING: unable to extract video date')
upload_date = None
@@ -3743,9 +3743,9 @@ class YouPornIE(InfoExtractor):
upload_date = result.group('date').strip()
# Get the video uploader
- result = re.search(r'Submitted:(?P.*)', webpage)
+ result = re.search(r'Submitted:(?P.*)', webpage)
if result is None:
- self._downloader.to_stderr(u'ERROR: unable to extract uploader')
+ self._downloader.to_stderr(u'WARNING: unable to extract uploader')
video_uploader = None
else:
video_uploader = result.group('uploader').strip()