This commit is contained in:
Hellow 2023-04-04 20:00:38 +02:00
parent 6e17758826
commit 8b10b4e4ca

View File

@ -6,12 +6,13 @@ from ...objects import Song, Album, Artist, Label, Source
MusicObject = Union[Song, Album, Artist, Label]
class Download:
def __init__(
self,
pages: Tuple[Type[Page]] = page_attributes.ALL_PAGES,
exclude_pages: Set[Type[Page]] = set(),
exclude_shady: bool = False,
self,
pages: Tuple[Type[Page]] = page_attributes.ALL_PAGES,
exclude_pages: Set[Type[Page]] = set(),
exclude_shady: bool = False,
) -> None:
_page_list: List[Type[Page]] = []
_audio_page_list: List[Type[Page]] = []
@ -42,5 +43,3 @@ class Download:
return
return source_page.fetch_object_from_source(source)