mirror of
https://github.com/nathom/streamrip.git
synced 2025-05-23 03:27:14 -04:00
Merge pull request #399 from joegoldin/fix-regex-appid-appsecret
(bug) Fix `appId` and `appSecret` regular expressions
This commit is contained in:
commit
5035a598ff
1 changed files with 1 additions and 3 deletions
|
@ -26,9 +26,7 @@ class Spoofer:
|
|||
r'(?P<info>[\w=]+)",extras:"(?P<extras>[\w=]+)"'
|
||||
)
|
||||
self.app_id_regex = (
|
||||
r'{app_id:"(?P<app_id>\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<app_id>\d{9})",appSecret:"(\w{32})'
|
||||
)
|
||||
login_page_request = requests.get("https://play.qobuz.com/login")
|
||||
login_page = login_page_request.text
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue