gamdl 3.4__tar.gz → 3.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {gamdl-3.4 → gamdl-3.5}/PKG-INFO +1 -1
- gamdl-3.5/gamdl/__init__.py +1 -0
- {gamdl-3.4 → gamdl-3.5}/gamdl/api/itunes.py +2 -1
- {gamdl-3.4 → gamdl-3.5}/gamdl/interface/base.py +5 -0
- {gamdl-3.4 → gamdl-3.5}/gamdl.egg-info/PKG-INFO +1 -1
- {gamdl-3.4 → gamdl-3.5}/pyproject.toml +1 -1
- gamdl-3.4/gamdl/__init__.py +0 -1
- {gamdl-3.4 → gamdl-3.5}/LICENSE +0 -0
- {gamdl-3.4 → gamdl-3.5}/README.md +0 -0
- {gamdl-3.4 → gamdl-3.5}/gamdl/__main__.py +0 -0
- {gamdl-3.4 → gamdl-3.5}/gamdl/api/__init__.py +0 -0
- {gamdl-3.4 → gamdl-3.5}/gamdl/api/apple_music.py +0 -0
- {gamdl-3.4 → gamdl-3.5}/gamdl/api/constants.py +0 -0
- {gamdl-3.4 → gamdl-3.5}/gamdl/api/exceptions.py +0 -0
- {gamdl-3.4 → gamdl-3.5}/gamdl/cli/__init__.py +0 -0
- {gamdl-3.4 → gamdl-3.5}/gamdl/cli/cli.py +0 -0
- {gamdl-3.4 → gamdl-3.5}/gamdl/cli/cli_config.py +0 -0
- {gamdl-3.4 → gamdl-3.5}/gamdl/cli/config_file.py +0 -0
- {gamdl-3.4 → gamdl-3.5}/gamdl/cli/constants.py +0 -0
- {gamdl-3.4 → gamdl-3.5}/gamdl/cli/database.py +0 -0
- {gamdl-3.4 → gamdl-3.5}/gamdl/cli/interactive_prompts.py +0 -0
- {gamdl-3.4 → gamdl-3.5}/gamdl/cli/utils.py +0 -0
- {gamdl-3.4 → gamdl-3.5}/gamdl/downloader/__init__.py +0 -0
- {gamdl-3.4 → gamdl-3.5}/gamdl/downloader/amdecrypt.py +0 -0
- {gamdl-3.4 → gamdl-3.5}/gamdl/downloader/base.py +0 -0
- {gamdl-3.4 → gamdl-3.5}/gamdl/downloader/constants.py +0 -0
- {gamdl-3.4 → gamdl-3.5}/gamdl/downloader/downloader.py +0 -0
- {gamdl-3.4 → gamdl-3.5}/gamdl/downloader/enums.py +0 -0
- {gamdl-3.4 → gamdl-3.5}/gamdl/downloader/exceptions.py +0 -0
- {gamdl-3.4 → gamdl-3.5}/gamdl/downloader/music_video.py +0 -0
- {gamdl-3.4 → gamdl-3.5}/gamdl/downloader/song.py +0 -0
- {gamdl-3.4 → gamdl-3.5}/gamdl/downloader/types.py +0 -0
- {gamdl-3.4 → gamdl-3.5}/gamdl/downloader/uploaded_video.py +0 -0
- {gamdl-3.4 → gamdl-3.5}/gamdl/interface/__init__.py +0 -0
- {gamdl-3.4 → gamdl-3.5}/gamdl/interface/constants.py +0 -0
- {gamdl-3.4 → gamdl-3.5}/gamdl/interface/enums.py +0 -0
- {gamdl-3.4 → gamdl-3.5}/gamdl/interface/exceptions.py +0 -0
- {gamdl-3.4 → gamdl-3.5}/gamdl/interface/interface.py +0 -0
- {gamdl-3.4 → gamdl-3.5}/gamdl/interface/music_video.py +0 -0
- {gamdl-3.4 → gamdl-3.5}/gamdl/interface/song.py +0 -0
- {gamdl-3.4 → gamdl-3.5}/gamdl/interface/types.py +0 -0
- {gamdl-3.4 → gamdl-3.5}/gamdl/interface/uploaded_video.py +0 -0
- {gamdl-3.4 → gamdl-3.5}/gamdl/interface/wvd.py +0 -0
- {gamdl-3.4 → gamdl-3.5}/gamdl/utils.py +0 -0
- {gamdl-3.4 → gamdl-3.5}/gamdl.egg-info/SOURCES.txt +0 -0
- {gamdl-3.4 → gamdl-3.5}/gamdl.egg-info/dependency_links.txt +0 -0
- {gamdl-3.4 → gamdl-3.5}/gamdl.egg-info/entry_points.txt +0 -0
- {gamdl-3.4 → gamdl-3.5}/gamdl.egg-info/requires.txt +0 -0
- {gamdl-3.4 → gamdl-3.5}/gamdl.egg-info/top_level.txt +0 -0
- {gamdl-3.4 → gamdl-3.5}/setup.cfg +0 -0
{gamdl-3.4 → gamdl-3.5}/PKG-INFO
RENAMED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "3.5"
|
|
@@ -77,6 +77,7 @@ class ItunesApi:
|
|
|
77
77
|
|
|
78
78
|
client = httpx.AsyncClient(
|
|
79
79
|
timeout=60.0,
|
|
80
|
+
follow_redirects=True,
|
|
80
81
|
)
|
|
81
82
|
|
|
82
83
|
return cls(
|
|
@@ -133,7 +134,7 @@ class ItunesApi:
|
|
|
133
134
|
response = await self.client.get(
|
|
134
135
|
ITUNES_PAGE_API_URL.format(media_type=media_type, media_id=media_id),
|
|
135
136
|
headers={
|
|
136
|
-
"X-Apple-Store-Front": f"{self.storefront_id}
|
|
137
|
+
"X-Apple-Store-Front": f"{self.storefront_id},32 t:music31",
|
|
137
138
|
},
|
|
138
139
|
)
|
|
139
140
|
response.raise_for_status()
|
|
@@ -133,6 +133,11 @@ class AppleMusicBaseInterface:
|
|
|
133
133
|
itunes_api = itunes_api or await ItunesApi.create(
|
|
134
134
|
storefront=apple_music_api.storefront,
|
|
135
135
|
language=apple_music_api.language,
|
|
136
|
+
**(
|
|
137
|
+
{"storefront_id": None}
|
|
138
|
+
if apple_music_api.storefront.lower() != "us"
|
|
139
|
+
else {}
|
|
140
|
+
),
|
|
136
141
|
)
|
|
137
142
|
cdm = cls.create_cdm(wvd_path)
|
|
138
143
|
|
gamdl-3.4/gamdl/__init__.py
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "3.4"
|
{gamdl-3.4 → gamdl-3.5}/LICENSE
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|