On Tue, Nov 05, 2024 at 08:41:06PM +0100, Kirill A. Korinsky wrote: > On Tue, 05 Nov 2024 20:22:37 +0100, > Kirill A. Korinsky <kir...@korins.ky> wrote: > > > > ports@, > > > > I'd like to import a new port www/qobuz-dl and two it's dependencies: > > devel/py-pathvalidate and devel/py-pick. > > > > qobuz-dl is a programm that allows user to download music from Qobuz. Qobuz > > allows you to stream its library and buy music as flac files. Unfortunately > > it doesn't have a way to download .zip from the web UI for a while, and you > > have to download tracks one by one, which is quite annoying. > > > > I've tested on -current/amd64 yt-dlp, but it doesn't support qobuz, not > > directly or via generic extractor. > > > > Feedback? Ok? > > > > And here updated tgz which contains fixed PLIST.
Hi, when I try to feed it the download link for one of my purchases albums it crashes with the following backtrace: qobuz-dl dl https://www.qobuz.com/account/download/<redacted> Logging... Logged: OK Set max quality: 6 - 16 bit, 44.1kHz Traceback (most recent call last): File "/usr/local/bin/qobuz-dl", line 8, in <module> sys.exit(main()) ^^^^^^ File "/usr/local/lib/python3.11/site-packages/qobuz_dl/cli.py", line 176, in main _handle_commands(qobuz, arguments) File "/usr/local/lib/python3.11/site-packages/qobuz_dl/cli.py", line 83, in _handle_commands qobuz.download_list_of_urls(arguments.SOURCE) File "/usr/local/lib/python3.11/site-packages/qobuz_dl/core.py", line 180, in download_list_of_urls self.handle_url(url) File "/usr/local/lib/python3.11/site-packages/qobuz_dl/core.py", line 128, in handle_url url_type, item_id = get_url_info(url) ^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/qobuz_dl/utils.py", line 190, in get_url_info return r.groups() ^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'groups' It's not clear to me if it's supposed to work for purchased albums or only for streaming accounts (which I don't have). -- Matthieu Herrb