Skip to content

Commit cc399a8

Browse files
committed
added bandcamp audio provider
1 parent ed83651 commit cc399a8

File tree

6 files changed

+314
-1
lines changed

6 files changed

+314
-1
lines changed

poetry.lock

Lines changed: 166 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ pykakasi = "^2.2.1"
4949
syncedlyrics = "^0.5.0"
5050
typing-extensions = "^4.6.3"
5151
soundcloud-v2 = "^1.3.1"
52+
bandcamp-api = "^0.1.15"
5253

5354
[tool.poetry.dev-dependencies]
5455
pytest = "^7.3.2"

spotdl/download/downloader.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
from spotdl.download.progress_handler import ProgressHandler
2020
from spotdl.providers.audio import (
2121
AudioProvider,
22+
BandCamp,
2223
SliderKZ,
2324
SoundCloud,
2425
YouTube,
@@ -54,6 +55,7 @@
5455
"youtube-music": YouTubeMusic,
5556
"slider-kz": SliderKZ,
5657
"soundcloud": SoundCloud,
58+
"bandcamp": BandCamp,
5759
}
5860

5961
LYRICS_PROVIDERS: Dict[str, Type[LyricsProvider]] = {

spotdl/providers/audio/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
Audio providers for spotdl.
33
"""
44

5+
from spotdl.providers.audio.bandcamp import BandCamp
56
from spotdl.providers.audio.base import (
67
ISRC_REGEX,
78
AudioProvider,
@@ -18,6 +19,7 @@
1819
"YouTubeMusic",
1920
"SliderKZ",
2021
"SoundCloud",
22+
"BandCamp",
2123
"AudioProvider",
2224
"AudioProviderError",
2325
"YTDLLogger",

0 commit comments

Comments
 (0)