refactor: replace two seperate download url properties by only one

Signed-off-by: Dominik Willner <th33xitus@gmail.com>
This commit is contained in:
dw-0
2024-04-28 19:41:38 +02:00
parent 51f0713c5a
commit 5225e70e83
4 changed files with 26 additions and 34 deletions

View File

@@ -59,12 +59,7 @@ class BaseWebClient(ABC):
@property
@abstractmethod
def stable_url(self) -> str:
raise NotImplementedError
@property
@abstractmethod
def unstable_url(self) -> str:
def download_url(self) -> str:
raise NotImplementedError
@property