aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/goldenmoustache.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-12-12 13:09:54 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2014-12-12 13:09:55 +0100
commit751536f5c80cdfdbf6ddfd9f9a673ffd3d8f5d55 (patch)
tree9d5567eb79c4497d11fb84c2a30f70617f2b8728 /youtube_dl/extractor/goldenmoustache.py
parent025f30ba38311cfffef7bafa31ae87b8365b47bd (diff)
[goldenmoustache] Remove view count
view count is not present anymore, so we can't extract it.
Diffstat (limited to 'youtube_dl/extractor/goldenmoustache.py')
-rw-r--r--youtube_dl/extractor/goldenmoustache.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/youtube_dl/extractor/goldenmoustache.py b/youtube_dl/extractor/goldenmoustache.py
index 10001d4d9..4a07b5558 100644
--- a/youtube_dl/extractor/goldenmoustache.py
+++ b/youtube_dl/extractor/goldenmoustache.py
@@ -17,7 +17,6 @@ class GoldenMoustacheIE(InfoExtractor):
'title': 'Suricate - Le Poker',
'description': 'md5:3d1f242f44f8c8cb0a106f1fd08e5dc9',
'thumbnail': 're:^https?://.*\.jpg$',
- 'view_count': int,
}
}, {
'url': 'http://www.goldenmoustache.com/le-lab-tout-effacer-mc-fly-et-carlito-55249/',
@@ -28,7 +27,6 @@ class GoldenMoustacheIE(InfoExtractor):
'title': 'Le LAB - Tout Effacer (Mc Fly et Carlito)',
'description': 'md5:9b7fbf11023fb2250bd4b185e3de3b2a',
'thumbnail': 're:^https?://.*\.(?:png|jpg)$',
- 'view_count': int,
}
}]
@@ -42,9 +40,6 @@ class GoldenMoustacheIE(InfoExtractor):
r'<title>(.*?)(?: - Golden Moustache)?</title>', webpage, 'title')
thumbnail = self._og_search_thumbnail(webpage)
description = self._og_search_description(webpage)
- view_count = int_or_none(self._html_search_regex(
- r'<strong>([0-9]+)</strong>\s*VUES</span>',
- webpage, 'view count', fatal=False))
return {
'id': video_id,
@@ -53,5 +48,4 @@ class GoldenMoustacheIE(InfoExtractor):
'title': title,
'description': description,
'thumbnail': thumbnail,
- 'view_count': view_count,
}