commented youtube
This commit is contained in:
parent
8da016d294
commit
d98f72f836
@ -12,12 +12,16 @@ from ..pages import Page, EncyclopaediaMetallum, Musify, YouTube, YoutubeMusic,
|
|||||||
|
|
||||||
if DEBUG_PAGES:
|
if DEBUG_PAGES:
|
||||||
DEBUGGING_PAGE = YoutubeMusic
|
DEBUGGING_PAGE = YoutubeMusic
|
||||||
|
print(f"Only downloading from page {DEBUGGING_PAGE}.")
|
||||||
|
|
||||||
|
ALL_PAGES = {DEBUGGING_PAGE}
|
||||||
|
AUDIO_PAGES = ALL_PAGES.union(AUDIO_PAGES)
|
||||||
|
|
||||||
|
|
||||||
ALL_PAGES: Set[Type[Page]] = {
|
ALL_PAGES: Set[Type[Page]] = {
|
||||||
EncyclopaediaMetallum,
|
EncyclopaediaMetallum,
|
||||||
Musify,
|
Musify,
|
||||||
YouTube,
|
# YouTube,
|
||||||
YoutubeMusic
|
YoutubeMusic
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -31,12 +35,6 @@ SHADY_PAGES: Set[Type[Page]] = {
|
|||||||
Musify,
|
Musify,
|
||||||
}
|
}
|
||||||
|
|
||||||
if DEBUGGING_PAGE is not None:
|
|
||||||
print(f"The DEBUGGING_PAGE is not None, but {DEBUGGING_PAGE}. Only using this page")
|
|
||||||
ALL_PAGES = {DEBUGGING_PAGE}
|
|
||||||
AUDIO_PAGES = ALL_PAGES.union(AUDIO_PAGES)
|
|
||||||
|
|
||||||
|
|
||||||
class Pages:
|
class Pages:
|
||||||
def __init__(self, exclude_pages: Set[Type[Page]] = None, exclude_shady: bool = False) -> None:
|
def __init__(self, exclude_pages: Set[Type[Page]] = None, exclude_shady: bool = False) -> None:
|
||||||
# initialize all page instances
|
# initialize all page instances
|
||||||
|
Loading…
Reference in New Issue
Block a user