Merge pull request #7173 from remitamine/criterion

[criterion] fix description extraction
This commit is contained in:
Sergey M. 2015-10-14 19:49:54 +06:00
commit f49b3d6efc

View file

@ -27,9 +27,7 @@ def _real_extract(self, url):
final_url = self._search_regex(
r'so.addVariable\("videoURL", "(.+?)"\)\;', webpage, 'video url')
title = self._og_search_title(webpage)
description = self._html_search_regex(
r'<meta name="description" content="(.+?)" />',
webpage, 'video description')
description = self._html_search_meta('description', webpage)
thumbnail = self._search_regex(
r'so.addVariable\("thumbnailURL", "(.+?)"\)\;',
webpage, 'thumbnail url')