From 251e1267f92331cb2659cc1633fde86198f5955b Mon Sep 17 00:00:00 2001 From: Nathan Thomas Date: Mon, 23 May 2022 18:04:51 -0700 Subject: [PATCH 1/2] Bump version --- pyproject.toml | 2 +- streamrip/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index a3fd028..cdd68af 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "streamrip" -version = "1.9.4" +version = "1.9.5" description = "A fast, all-in-one music ripper for Qobuz, Deezer, Tidal, and SoundCloud" authors = ["nathom "] license = "GPL-3.0-only" diff --git a/streamrip/__init__.py b/streamrip/__init__.py index 832f100..30c835c 100644 --- a/streamrip/__init__.py +++ b/streamrip/__init__.py @@ -1,5 +1,5 @@ """streamrip: the all in one music downloader.""" -__version__ = "1.9.4" +__version__ = "1.9.5" from . import clients, constants, converter, downloadtools, media From eea35ce204051f9361f97945d20cd5e2f6b1980e Mon Sep 17 00:00:00 2001 From: Joe Goldin Date: Wed, 15 Mar 2023 17:24:24 -0700 Subject: [PATCH 2/2] (bug) Fix `appId` and `appSecret` regular expressions --- streamrip/spoofbuz.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/streamrip/spoofbuz.py b/streamrip/spoofbuz.py index f83a4b3..5580466 100644 --- a/streamrip/spoofbuz.py +++ b/streamrip/spoofbuz.py @@ -26,9 +26,7 @@ class Spoofer: r'(?P[\w=]+)",extras:"(?P[\w=]+)"' ) self.app_id_regex = ( - r'{app_id:"(?P\d{9})",app_secret:"\w{32}",base_port:"80"' - r',base_url:"https://www\.qobuz\.com",base_method:"/api\.js' - r'on/0\.2/"},n\.base_url="https://nightly-play\.qobuz\.com"' + r'production:{api:{appId:"(?P\d{9})",appSecret:"(\w{32})' ) login_page_request = requests.get("https://play.qobuz.com/login") login_page = login_page_request.text