aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/criterion.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-10-14 20:32:11 +0600
committerSergey M․ <dstftw@gmail.com>2015-10-14 20:32:11 +0600
commit4aa353673b5404e9765a2b3e1ffbf8bb1c147d42 (patch)
tree6911f4afe7980bd1d8102405f80d58a30ad6f6ff /youtube_dl/extractor/criterion.py
parent3eeff489e80838cd2d1b3f55fc96db747386fd50 (diff)
parentf49b3d6efc012504a956ba3e625e492233721221 (diff)
Merge branch 'master' of github.com:rg3/youtube-dl
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')