diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2014-12-04 08:22:20 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2014-12-04 08:22:20 +0100 |
commit | 191cc41ba49a5d19e798131060c6976dbb2d357e (patch) | |
tree | c75f5e8c976080a8cc9317f824d07929c953cf7f /youtube_dl/extractor | |
parent | 7f142293dff64096a34446ce1e7d674a9f2f1bc9 (diff) |
[foxgay] Add thumbnail to test definition
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/foxgay.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/foxgay.py b/youtube_dl/extractor/foxgay.py index a146a9180..08b8ea362 100644 --- a/youtube_dl/extractor/foxgay.py +++ b/youtube_dl/extractor/foxgay.py @@ -14,14 +14,14 @@ class FoxgayIE(InfoExtractor): 'title': 'md5:6122f7ae0fc6b21ebdf59c5e083ce25a', 'description': 'md5:5e51dc4405f1fd315f7927daed2ce5cf', 'age_limit': 18, + 'thumbnail': 're:https?://.*\.jpg$', }, } def _real_extract(self, url): video_id = self._match_id(url) - - # Download the initial webpage and extract all available data. webpage = self._download_webpage(url, video_id) + title = self._html_search_regex( r'<title>(?P<title>.*?)</title>', webpage, 'title', fatal=False) |