From f37642289ad0281a63b461153980b048b065b34c Mon Sep 17 00:00:00 2001 From: Erik Date: Sat, 17 Oct 2015 22:44:40 +0200 Subject: [PATCH] [youporn] Added description and thumbnail --- youtube_dl/extractor/youporn.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/youtube_dl/extractor/youporn.py b/youtube_dl/extractor/youporn.py index 10961827a..31bc661e5 100644 --- a/youtube_dl/extractor/youporn.py +++ b/youtube_dl/extractor/youporn.py @@ -28,6 +28,7 @@ class YouPornIE(InfoExtractor): 'id': '505835', 'ext': 'mp4', 'title': 'Sex Ed: Is It Safe To Masturbate Daily?', + 'description': 'Watch Sex Ed: Is It Safe To Masturbate Daily? at YouPorn.com - YouPorn is the biggest free porn tube site on the net!', 'age_limit': 18, } } @@ -45,6 +46,8 @@ class YouPornIE(InfoExtractor): self.report_extraction(video_id) try: video_title = self._html_search_regex(r'page_params.video_title = \'(.+?)\';', webpage, 'video URL') + video_description = self._html_search_regex(r'', webpage, 'video DESC') + video_thumbnail = self._html_search_regex(r'