Skip to content

Commit

Permalink
disable SliderKZ
Browse files Browse the repository at this point in the history
  • Loading branch information
xnetcat committed Nov 14, 2024
1 parent 49a177c commit 9950a3f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 0 additions & 2 deletions spotdl/download/downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
AudioProvider,
BandCamp,
Piped,
SliderKZ,
SoundCloud,
YouTube,
YouTubeMusic,
Expand Down Expand Up @@ -57,7 +56,6 @@
AUDIO_PROVIDERS: Dict[str, Type[AudioProvider]] = {
"youtube": YouTube,
"youtube-music": YouTubeMusic,
"slider-kz": SliderKZ,
"soundcloud": SoundCloud,
"bandcamp": BandCamp,
"piped": Piped,
Expand Down
2 changes: 0 additions & 2 deletions spotdl/providers/audio/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,13 @@
YTDLLogger,
)
from spotdl.providers.audio.piped import Piped
from spotdl.providers.audio.sliderkz import SliderKZ
from spotdl.providers.audio.soundcloud import SoundCloud
from spotdl.providers.audio.youtube import YouTube
from spotdl.providers.audio.ytmusic import YouTubeMusic

__all__ = [
"YouTube",
"YouTubeMusic",
"SliderKZ",
"SoundCloud",
"BandCamp",
"Piped",
Expand Down
4 changes: 4 additions & 0 deletions spotdl/providers/audio/sliderkz.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
__all__ = ["SliderKZ"]

logger = logging.getLogger(__name__)
logger.critical(
"SliderKZ module is disabled due to slider.kz being shutdown. "
"Please remove all references to this module."
)

HEADERS = {
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/111.0"
Expand Down

0 comments on commit 9950a3f

Please sign in to comment.