aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTithen-Firion <Tithen-Firion@users.noreply.github.com>2014-12-04 14:08:08 +0100
committerTithen-Firion <Tithen-Firion@users.noreply.github.com>2014-12-04 14:16:09 +0100
commit225e4b9633285b66adc914a61d8f55ca125eb91d (patch)
tree9581481285a0d3ae7ee4ee7cc787588e756aa60e
parent6ce2c6783b2c1516fe9b1b5cb88d28231db45f8c (diff)
[tvp] Remove unnecessary code
-rw-r--r--youtube_dl/extractor/tvp.py9
1 files changed, 1 insertions, 8 deletions
diff --git a/youtube_dl/extractor/tvp.py b/youtube_dl/extractor/tvp.py
index 2248a9fdf..bd7ee25a0 100644
--- a/youtube_dl/extractor/tvp.py
+++ b/youtube_dl/extractor/tvp.py
@@ -79,15 +79,8 @@ class TvpIE(InfoExtractor):
'id': video_id,
'title': title,
'thumbnail': self._og_search_thumbnail(webpage),
- 'description': self._og_search_description(webpage, default=''),
+ 'description': self._og_search_description(webpage),
}
- if mobj.group('type') == 'vod' and info_dict['description'] == '':
- info_dict.update({
- 'description': self._html_search_regex(
- r'(?s)<div\s+class=[\'"]opis.*?</div>',
- self._download_webpage(url, video_id), 'description', group=0),
- })
-
video_url = self._search_regex(
r'0:{src:([\'"])(?P<url>.*?)\1', webpage, 'formats', group='url', default=None)
if video_url is None: