From 24db509a01a8ae49bfc3d165ce081eb5b95d93c3 Mon Sep 17 00:00:00 2001 From: jbannon Date: Thu, 21 Jul 2022 05:02:12 +0000 Subject: [PATCH] [BUGFIX] Remove description from Soundcloud source variable --- src/ytdl_sub/entries/variables/entry_variables.py | 9 --------- src/ytdl_sub/entries/variables/youtube_variables.py | 9 +++++++++ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/ytdl_sub/entries/variables/entry_variables.py b/src/ytdl_sub/entries/variables/entry_variables.py index 4e75d443..69c0fa26 100644 --- a/src/ytdl_sub/entries/variables/entry_variables.py +++ b/src/ytdl_sub/entries/variables/entry_variables.py @@ -177,12 +177,3 @@ class EntryVariables(SourceVariables): The uploaded date formatted as YYYY-MM-DD """ return f"{self.upload_year}-{self.upload_month_padded}-{self.upload_day_padded}" - - @property - def description(self: BaseEntry) -> str: - """ - Returns - ------- - The description of the entry. - """ - return self.kwargs("description") diff --git a/src/ytdl_sub/entries/variables/youtube_variables.py b/src/ytdl_sub/entries/variables/youtube_variables.py index 4ea0aa57..83da35b6 100644 --- a/src/ytdl_sub/entries/variables/youtube_variables.py +++ b/src/ytdl_sub/entries/variables/youtube_variables.py @@ -91,3 +91,12 @@ class YoutubeVideoVariables(EntryVariables): The size of the playlist. For non-playlist download strategies, this will always return 1. """ return 1 + + @property + def description(self: BaseEntry) -> str: + """ + Returns + ------- + The description of the entry. + """ + return self.kwargs("description")