1
0
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:
sepro
2024-06-12 01:09:58 +02:00
committed by GitHub
parent db50f19d76
commit add96eb9f8
915 changed files with 7027 additions and 7246 deletions

View File

@ -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