1
0
mirror of https://github.com/yt-dlp/yt-dlp synced 2025-12-17 06:35:42 +07:00

[cleanup] Bump ruff to 0.13.x (#14293)

Authored by: bashonly
This commit is contained in:
bashonly
2025-09-11 10:18:01 -05:00
committed by GitHub
parent 22ea0688ed
commit ba80446855
20 changed files with 34 additions and 33 deletions

View File

@@ -321,7 +321,7 @@ def _real_extract(self, url):
f'Only {video_type} will be downloaded. '
f'To download everything from the series, remove "/{video_type}" from the URL')
series_meta, meta_paths = self._call_api(
series_meta, _ = self._call_api(
f'https://api.rctiplus.com/api/v1/program/{series_id}/detail', display_id, 'Downloading series metadata')
metadata = {
'age_limit': try_get(series_meta, lambda x: self._AGE_RATINGS[x['age_restriction'][0]['code']]),