aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/criterion.py
diff options
context:
space:
mode:
authorremitamine <remitamine@gmail.com>2015-10-14 14:13:53 +0100
committerremitamine <remitamine@gmail.com>2015-10-14 14:13:53 +0100
commit36bb63fad19df5ee419979f875e2265936511644 (patch)
tree45911558ea704ce45e48ede6f9f89e036691ade4 /youtube_dl/extractor/criterion.py
parent1f36085df94c2addd1175e7e299f6235aca3ac68 (diff)
[criterion] fix description extraction
Diffstat (limited to 'youtube_dl/extractor/criterion.py')
-rw-r--r--youtube_dl/extractor/criterion.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/youtube_dl/extractor/criterion.py b/youtube_dl/extractor/criterion.py
index 4fb178165..dedb810a0 100644
--- a/youtube_dl/extractor/criterion.py
+++ b/youtube_dl/extractor/criterion.py
@@ -27,9 +27,7 @@ class CriterionIE(InfoExtractor):
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')