1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-22 08:34:32 +01:00

Remove one time variables and make them inline

This commit is contained in:
Hanif Birgani 2020-03-22 00:07:23 +04:30
parent 3d5ae9e0d3
commit 47c3ebde43

View File

@ -75,12 +75,9 @@ class AparatIE(InfoExtractor):
self._sort_formats(
formats, field_preference=('height', 'width', 'tbr', 'format_id'))
title = self._og_search_title(webpage)
description = self._og_search_description(webpage)
return {
'title': title,
'description': description,
'title': self._og_search_title(webpage),
'description': self._og_search_description(webpage),
'id': video_id,
'thumbnail': url_or_none(options.get('poster')),
'duration': int_or_none(options.get('duration')),