nathom / streamrip

A scriptable music downloader for Qobuz, Tidal, SoundCloud, and Deezer
GNU General Public License v3.0
2.35k stars 209 forks source link

[BUG] <title>Exception: Could not find app id. #625

Open Maxnforcer opened 5 months ago

Maxnforcer commented 5 months ago

Describe the bug

Can't get steamrip to work. Says it's going to get token and ends up with this "Exception: Could not find app id."

Command Used

rip --urls https://open.qobuz.com/album/0085970467027

Debug Traceback

Ixtayul@MacBook-Pro ~ % rip --urls https://open.qobuz.com/album/0085970467027
A new version of streamrip is available! Run `pip3 install streamrip --upgrade` to update.
Logging into qobuz
Fetching tokens, this may take a few seconds.
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.9/bin/rip", line 8, in <module>
    sys.exit(main())
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/streamrip/cli.py", line 300, in main
    cli(obj={})
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/click/core.py", line 1134, in __call__
    return self.main(*args, **kwargs)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/click/core.py", line 1059, in main
    rv = self.invoke(ctx)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/click/core.py", line 1643, in invoke
    super().invoke(ctx)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/click/core.py", line 1401, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/click/core.py", line 767, in invoke
    return __callback(*args, **kwargs)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/click/decorators.py", line 26, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/streamrip/cli.py", line 99, in cli
    core.handle_urls(kwargs["urls"])
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/streamrip/core.py", line 128, in handle_urls
    self.handle_item(source, url_type, item_id)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/streamrip/core.py", line 142, in handle_item
    client = self.get_client(source)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/streamrip/core.py", line 256, in get_client
    self.login(client)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/streamrip/core.py", line 268, in login
    client.login(**creds)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/streamrip/clients.py", line 124, in login
    kwargs["app_id"] = spoofer.get_app_id()
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/streamrip/spoofbuz.py", line 51, in get_app_id
    raise Exception("Could not find app id.")
Exception: Could not find app id.f

Config File

qobuz:
  # 1: 320kbps MP3, 2: 16/44.1, 3: 24/<=96, 4: 24/>=96
  quality: 3
  # This will download booklet pdfs that are included with some albums
  download_booklets: true
  email: rip -u https://open.qobuz.com/album/0060253780968
  # This is an md5 hash of the plaintext password
  password: f90133ff9ca305d6e8aa9582b4482de4
  # Do not change
  app_id: ''
  # Do not change
  secrets: []
tidal:
  # 0: 256kbps AAC, 1: 320kbps AAC, 2: 16/44.1 "HiFi" FLAC, 3: 24/44.1 "MQA" FLAC
  quality: 3
  # This will download videos included in Video Albums.
  download_videos: true
  # Do not change any of the fields below
  user_id:
  country_code:
  access_token:
  refresh_token:
  # Tokens last 1 week after refresh. This is the Unix timestamp of the expiration time.
  token_expiry: 0
# Deezer doesn't require login
deezer:
  # 0, 1, or 2
  quality: 2
soundcloud:
  # Only 0 is available
  quality: 0
youtube:
  # Only 0 is available for now
  quality: 0
  # Download the video along with the audio
  download_videos: false
  # The path to download the videos to
  video_downloads_folder: /Users/Ixtayul/StreamripDownloads
# This stores a list of item IDs so that repeats are not downloaded.
database:
  enabled: true
  path: /Users/Ixtayul/Library/Application Support/streamrip/downloads.db
conversion:
  enabled: false
  codec:
  sampling_rate:
  bit_depth:
# Filter a Qobuz artist's discography. Set to 'true' to turn on a filter.
filters:
  # Remove Collectors Editions, live recordings, etc.
  extras: false
  # Picks the highest quality out of albums with identical titles.
  repeats: false
  # Remove EPs and Singles
  non_albums: false
  # Remove albums whose artist is not the one requested
  features: false
  non_studio_albums: false
  # Only download remastered albums
  non_remaster: false
downloads:
  # Folder where tracks are downloaded to
  folder: /Users/Ixtayul/StreamripDownloads
  # Put Qobuz albums in a 'Qobuz' folder, Tidal albums in 'Tidal' etc.
  source_subdirectories: false
artwork:
  # Write the image to the audio file
  embed: true
  # The size of the artwork to embed. Options: thumbnail, small, large, original. 'original' images can be up to 30MB, and may fail embedding. Using 'large' is recommended.
  size: large
  # Save the cover image at the highest quality as a seperate jpg file
  keep_hires_cover: true
# Only applicable for playlist downloads.
metadata:
  # Sets the value of the 'ALBUM' field in the metadata to the playlist's name. This is useful if your music library software organizes tracks based on album name.
  set_playlist_to_album: false
  # Replaces the original track's tracknumber with it's position in the playlist
  new_playlist_tracknumbers: true
# Changes the folder and file names generated by streamrip.
path_format:
  # Available keys: "albumartist", "title", "year", "bit_depth", "sampling_rate", and "container"
  folder: '{albumartist} - {title} ({year}) [{container}] [{bit_depth}B-{sampling_rate}kHz]'
  # Available keys: "tracknumber", "artist", "albumartist", "composer", and "title"
  track: '{tracknumber}. {artist} - {title}'
check_for_updates: true
# Last.fm playlists are downloaded by searching for the titles of the tracks
lastfm:
  # The source on which to search for the tracks.
  source: qobuz
# Download (and convert) tracks all at once, instead of sequentially. If you are converting the tracks, and/or have fast internet, this will substantially improve processing speed.
concurrent_downloads: false

Operating System

macOS Sonoma 14.2.1

streamrip version

0.5.1

Screenshots and recordings

No response

Additional context

When I try to upgrade steamrip I get this "Ixtayul@MacBook-Pro ~ % pip3 install streamrip --upgrade` to update bquote> What is bquote and what am I suppose to answer?