1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-11-02 07:35:13 +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

@@ -24,7 +24,7 @@ class DroobleIE(InfoExtractor):
'timestamp': 1596241390,
'uploader_id': '95894',
'uploader': 'Bluebeat Shelter',
}
},
}, {
'url': 'https://drooble.com/karl340758/videos/2859183',
'info_dict': {
@@ -35,7 +35,7 @@ class DroobleIE(InfoExtractor):
'description': 'md5:ffc0bd8ba383db5341a86a6cd7d9bcca',
'upload_date': '20200731',
'uploader': 'Bluebeat Shelter',
}
},
}, {
'url': 'https://drooble.com/karl340758/music/albums/2858031',
'info_dict': {
@@ -88,7 +88,7 @@ class DroobleIE(InfoExtractor):
entites.append({
'_type': 'url',
'url': url,
'ie_key': 'Youtube'
'ie_key': 'Youtube',
})
continue
is_audio = (media.get('type') or '').lower() == 'audio'