refactor: replace string concatenations with f-strings
All checks were successful
CI / test (push) Successful in 50s
All checks were successful
CI / test (push) Successful in 50s
This commit is contained in:
@@ -305,7 +305,7 @@ def extract_playlist_metadata(polymer_json):
|
||||
metadata['description'] = desc
|
||||
|
||||
if metadata['author_id']:
|
||||
metadata['author_url'] = 'https://www.youtube.com/channel/' + metadata['author_id']
|
||||
metadata['author_url'] = f'https://www.youtube.com/channel/{metadata["author_id"]}'
|
||||
|
||||
if metadata['first_video_id'] is None:
|
||||
metadata['thumbnail'] = None
|
||||
|
||||
Reference in New Issue
Block a user