From 96ceef55a8301b8570ab8ee6c272172a67931572 Mon Sep 17 00:00:00 2001 From: Jesse Bannon Date: Sat, 17 Sep 2022 10:56:21 -0700 Subject: [PATCH] change uploader defaults --- .../entries/variables/entry_variables.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/ytdl_sub/entries/variables/entry_variables.py b/src/ytdl_sub/entries/variables/entry_variables.py index 5257ff48..ab8edb62 100644 --- a/src/ytdl_sub/entries/variables/entry_variables.py +++ b/src/ytdl_sub/entries/variables/entry_variables.py @@ -238,9 +238,9 @@ class EntryVariables(BaseEntryVariables): Returns ------- str - The playlist uploader id if it exists, otherwise returns the playlist unique ID. + The playlist uploader id if it exists, otherwise returns the entry uploader ID. """ - return self.kwargs_get(PLAYLIST_UPLOADER_ID, self.playlist_uid) + return self.kwargs_get(PLAYLIST_UPLOADER_ID, self.uploader_id) @property def playlist_uploader(self: Self) -> str: @@ -248,9 +248,9 @@ class EntryVariables(BaseEntryVariables): Returns ------- str - The playlist uploader if it exists, otherwise return the playlist uploader ID. + The playlist uploader if it exists, otherwise return the entry uploader. """ - return self.kwargs_get(PLAYLIST_UPLOADER, self.playlist_uploader_id) + return self.kwargs_get(PLAYLIST_UPLOADER, self.uploader) @property def playlist_uploader_url(self: Self) -> str: @@ -268,9 +268,9 @@ class EntryVariables(BaseEntryVariables): Returns ------- str - The source uploader id if it exists, otherwise returns the source unique ID. + The source uploader id if it exists, otherwise returns the playlist_uploader_id """ - return self.kwargs_get(SOURCE_UPLOADER_ID, self.source_uid) + return self.kwargs_get(SOURCE_UPLOADER_ID, self.playlist_uploader_id) @property def source_uploader(self: Self) -> str: @@ -278,9 +278,9 @@ class EntryVariables(BaseEntryVariables): Returns ------- str - The source uploader if it exists, otherwise return the source uploader ID. + The source uploader if it exists, otherwise return the playlist_uploader """ - return self.kwargs_get(SOURCE_UPLOADER, self.source_uploader_id) + return self.kwargs_get(SOURCE_UPLOADER, self.playlist_uploader) @property def source_uploader_url(self: Self) -> str: