diff options
| author | Astounds <kirito@disroot.org> | 2026-04-25 01:02:17 -0500 |
|---|---|---|
| committer | Astounds <kirito@disroot.org> | 2026-04-25 01:02:17 -0500 |
| commit | 50ad959a8051fec95f26b573f9fe067bdf3fdf6a (patch) | |
| tree | 4d94f63cf9adb951d4200b0f2bb0c762d45297c4 /youtube/yt_data_extract/everything_else.py | |
| parent | a0f315be51ef121618e73d5b450c8616c0d11d21 (diff) | |
| download | yt-local-50ad959a8051fec95f26b573f9fe067bdf3fdf6a.tar.lz yt-local-50ad959a8051fec95f26b573f9fe067bdf3fdf6a.tar.xz yt-local-50ad959a8051fec95f26b573f9fe067bdf3fdf6a.zip | |
refactor: replace string concatenations with f-strings
Diffstat (limited to 'youtube/yt_data_extract/everything_else.py')
| -rw-r--r-- | youtube/yt_data_extract/everything_else.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube/yt_data_extract/everything_else.py b/youtube/yt_data_extract/everything_else.py index 5930111..b7379a5 100644 --- a/youtube/yt_data_extract/everything_else.py +++ b/youtube/yt_data_extract/everything_else.py @@ -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 |
