Skip to content

[BUG] Unexpected error when downloading Deezer loved tracks #922

@satnerd

Description

@satnerd

Describe the bug

tried downloading my favorites (>700 tracks), received a stack trace instead.

Command Used

rip url -v -v -v --codec=MP3 --max-quality=1 https://www.deezer.com/us/profile/3897429142/loved

same results with:
rip url -v -v -v https://www.deezer.com/us/profile/3897429142/loved

Debug Traceback

Stack trace:

  8  lib/python3.9/site-packages/cleo/application.py:330 in run
       exit_code = self._run(io)

  7  lib/python3.9/site-packages/rip/cli.py:762 in _run
       super()._run(io)

  6  lib/python3.9/site-packages/cleo/application.py:425 in _run
       exit_code = self._run_command(command, io)

  5  lib/python3.9/site-packages/cleo/application.py:432 in _run_command
       return command.run(io)

  4  lib/python3.9/site-packages/cleo/commands/base_command.py:118 in run
       status_code = self.execute(io)

  3  lib/python3.9/site-packages/cleo/commands/command.py:85 in execute
       return self.handle()

  2  lib/python3.9/site-packages/rip/cli.py:122 in handle
       core.handle_urls(";".join(urls))

  1  lib/python3.9/site-packages/rip/core.py:183 in handle_urls
       self.handle_item(source, url_type, item_id)

  AssertionError

  

  at lib/python3.9/site-packages/rip/core.py:201 in handle_item
      197│         if media_type not in MEDIA_TYPES:
      198│             if "playlist" in media_type:  # for SoundCloud
      199│                 media_type = "playlist"
      200│ 
    → 201│         assert media_type in MEDIA_TYPES, media_type
      202│         item = MEDIA_CLASS[media_type](client=client, id=item_id)
      203│         self.append(item)
      204│ 
      205│     def _get_download_args(self) -> dict:

If this was unexpected, please open a Bug Report at https://github.com/nathom/streamrip/issues/new/choose

Config File

rip -vvv config
DEBUG:streamrip:Config loaded

Operating System

Debian GNU/Linux 11 (bullseye)

streamrip version

Rip (version 1.9.7)

Screenshots and recordings

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions