mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-09-03 00:25:08 +00:00
[cleanup] Add more ruff rules (#10149)
Authored by: seproDev Reviewed-by: bashonly <88596187+bashonly@users.noreply.github.com> Reviewed-by: Simon Sawicki <contact@grub4k.xyz>
This commit is contained in:
@ -22,8 +22,8 @@ class LRTStreamIE(LRTBaseIE):
|
||||
'id': 'lrt-opus',
|
||||
'live_status': 'is_live',
|
||||
'title': 're:^LRT Opus.+$',
|
||||
'ext': 'mp4'
|
||||
}
|
||||
'ext': 'mp4',
|
||||
},
|
||||
}]
|
||||
|
||||
def _real_extract(self, url):
|
||||
@ -44,7 +44,7 @@ class LRTStreamIE(LRTBaseIE):
|
||||
'formats': formats,
|
||||
'subtitles': subtitles,
|
||||
'is_live': True,
|
||||
'title': f'{self._og_search_title(webpage)} - {stream_title}'
|
||||
'title': f'{self._og_search_title(webpage)} - {stream_title}',
|
||||
}
|
||||
|
||||
|
||||
@ -62,7 +62,7 @@ class LRTVODIE(LRTBaseIE):
|
||||
'timestamp': 1604079000,
|
||||
'upload_date': '20201030',
|
||||
'tags': ['LRT TELEVIZIJA', 'Beatos virtuvė', 'Beata Nicholson', 'Makaronai', 'Baklažanai', 'Vakarienė', 'Receptas'],
|
||||
'thumbnail': 'https://www.lrt.lt/img/2020/10/30/764041-126478-1287x836.jpg'
|
||||
'thumbnail': 'https://www.lrt.lt/img/2020/10/30/764041-126478-1287x836.jpg',
|
||||
},
|
||||
}, {
|
||||
# direct mp3 download
|
||||
|
Reference in New Issue
Block a user