We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PS E:\manzana> python manzana.py https://music.apple.com/us/artist/jacob-lavallee/152533595
$$$$$$\$$$$\ $$$$$$\ $$$$$$$\ $$$$$$$$\ $$$$$$\ $$$$$$$\ $$$$$$\ $$ _$$ _$$\ \____$$\ $$ __$$\ \____$$ |\____$$\ $$ __$$\ \____$$\ $$ / $$ / $$ | $$$$$$$ |$$ | $$ | $$$$ _/ $$$$$$$ |$$ | $$ | $$$$$$$ | $$ | $$ | $$ |$$ __$$ |$$ | $$ | $$ _/ $$ __$$ |$$ | $$ |$$ __$$ | $$ | $$ | $$ |\$$$$$$$ |$$ | $$ |$$$$$$$$\\$$$$$$$ |$$ | $$ |\$$$$$$$ | \__| \__| \__| \_______|\__| \__|\________|\_______|\__| \__| \_______| ──── Apple Music Downloader ────
[19:46:02] [ManzanaCore] INFO: Loading device... [19:46:02] [ManzanaCore] INFO: Checking accessToken... [19:46:03] [ManzanaCore] INFO: Checking mediaUserToken... [19:46:03] [ManzanaCore] INFO: Checking passed urls... [19:46:04] [ManzanaCore] INFO: Fetching artist contents...
Artist: Jacob LaVallee
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮ │ E:\manzana\manzana.py:83 in │ │ │ │ 80 │ print(LOGO) │ │ 81 │ args = main() │ │ 82 │ config.get_config() │ │ ❱ 83 │ run(args) │ │ 84 │ │ │ │ E:\manzana\core\control.py:35 in run │ │ │ │ 32 │ │ logger.info("Checking passed urls...") │ │ 33 │ │ │ │ 34 │ │ urls = parse.input_urls(args.url) │ │ ❱ 35 │ │ urls = aplm.get_urls(urls) │ │ 36 │ │ │ │ 37 │ │ logger.info("Starting download process...") │ │ 38 │ │ │ │ E:\manzana\core\api\aplm.py:411 in get_urls │ │ │ │ 408 │ │ for url in urls: │ │ 409 │ │ │ if "/artist/" in url: │ │ 410 │ │ │ │ self.__parse_url(url) │ │ ❱ 411 │ │ │ │ for ul in self.__get_artist(url): │ │ 412 │ │ │ │ │ u.append(ul) │ │ 413 │ │ │ else: u.append(url) │ │ 414 │ │ return u │ │ │ │ E:\manzana\core\api\aplm.py:229 in __get_artist │ │ │ │ 226 │ │ │ │ self.session, │ │ 227 │ │ │ │ f"https://amp-api.music.apple.com/v1/catalog/{self.storefront}/artists/{ │ │ 228 │ │ │ ), │ │ ❱ 229 │ │ │ __get_res( │ │ 230 │ │ │ │ self.session, │ │ 231 │ │ │ │ f"https://amp-api.music.apple.com/v1/catalog/{self.storefront}/artists/{ │ │ 232 │ │ │ ), │ │ │ │ E:\manzana\core\api\aplm.py:176 in __get_res │ │ │ │ 173 │ │ │ │ r = session.get(apiUrl) │ │ 174 │ │ │ │ r = json.loads(r.text) │ │ 175 │ │ │ │ │ │ ❱ 176 │ │ │ │ for item in r["data"]: │ │ 177 │ │ │ │ │ name = item["attributes"]["name"] │ │ 178 │ │ │ │ │ if " - EP" in name: name = name.replace(" - EP", "") + " [EP]" │ │ 179 │ │ │ │ │ if " - Single" in name: name = name.replace(" - Single", "") + " [S] │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ KeyError: 'data' PS E:\manzana>
The text was updated successfully, but these errors were encountered:
I also have this problem for some artists. Have you solved it?
Sorry, something went wrong.
No branches or pull requests
PS E:\manzana> python manzana.py https://music.apple.com/us/artist/jacob-lavallee/152533595
[19:46:02] [ManzanaCore] INFO: Loading device...
[19:46:02] [ManzanaCore] INFO: Checking accessToken...
[19:46:03] [ManzanaCore] INFO: Checking mediaUserToken...
[19:46:03] [ManzanaCore] INFO: Checking passed urls...
[19:46:04] [ManzanaCore] INFO: Fetching artist contents...
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ E:\manzana\manzana.py:83 in │
│ │
│ 80 │ print(LOGO) │
│ 81 │ args = main() │
│ 82 │ config.get_config() │
│ ❱ 83 │ run(args) │
│ 84 │
│ │
│ E:\manzana\core\control.py:35 in run │
│ │
│ 32 │ │ logger.info("Checking passed urls...") │
│ 33 │ │ │
│ 34 │ │ urls = parse.input_urls(args.url) │
│ ❱ 35 │ │ urls = aplm.get_urls(urls) │
│ 36 │ │ │
│ 37 │ │ logger.info("Starting download process...") │
│ 38 │
│ │
│ E:\manzana\core\api\aplm.py:411 in get_urls │
│ │
│ 408 │ │ for url in urls: │
│ 409 │ │ │ if "/artist/" in url: │
│ 410 │ │ │ │ self.__parse_url(url) │
│ ❱ 411 │ │ │ │ for ul in self.__get_artist(url): │
│ 412 │ │ │ │ │ u.append(ul) │
│ 413 │ │ │ else: u.append(url) │
│ 414 │ │ return u │
│ │
│ E:\manzana\core\api\aplm.py:229 in __get_artist │
│ │
│ 226 │ │ │ │ self.session, │
│ 227 │ │ │ │ f"https://amp-api.music.apple.com/v1/catalog/{self.storefront}/artists/{ │
│ 228 │ │ │ ), │
│ ❱ 229 │ │ │ __get_res( │
│ 230 │ │ │ │ self.session, │
│ 231 │ │ │ │ f"https://amp-api.music.apple.com/v1/catalog/{self.storefront}/artists/{ │
│ 232 │ │ │ ), │
│ │
│ E:\manzana\core\api\aplm.py:176 in __get_res │
│ │
│ 173 │ │ │ │ r = session.get(apiUrl) │
│ 174 │ │ │ │ r = json.loads(r.text) │
│ 175 │ │ │ │ │
│ ❱ 176 │ │ │ │ for item in r["data"]: │
│ 177 │ │ │ │ │ name = item["attributes"]["name"] │
│ 178 │ │ │ │ │ if " - EP" in name: name = name.replace(" - EP", "") + " [EP]" │
│ 179 │ │ │ │ │ if " - Single" in name: name = name.replace(" - Single", "") + " [S] │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
KeyError: 'data'
PS E:\manzana>
The text was updated successfully, but these errors were encountered: