mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-12-15 12:45:27 +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:
@@ -35,7 +35,7 @@ class WebcasterIE(InfoExtractor):
|
||||
formats = []
|
||||
for format_id in (None, 'noise'):
|
||||
track_tag = join_nonempty('track', format_id, delim='_')
|
||||
for track in video.findall('.//iphone/%s' % track_tag):
|
||||
for track in video.findall(f'.//iphone/{track_tag}'):
|
||||
track_url = track.text
|
||||
if not track_url:
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user