mirror of
https://git.lucida.su/lucida/verdana.git
synced 2026-08-19 22:08:04 +00:00
Merge pull request 'fix deezer cookies being bigger on every renew' (#14) from uhwot/lucida:deezer-cookies-fix into main
Reviewed-on: https://git.gay/lucida/lucida/pulls/14
This commit is contained in:
commit
ec3dd8e2d9
1 changed files with 1 additions and 1 deletions
|
|
@ -138,7 +138,7 @@ export default class Deezer implements StreamerWithLogin {
|
|||
if (method == 'deezer.getUserData') {
|
||||
const setCookie = req.headers.get('Set-Cookie') ?? ''
|
||||
const sid = setCookie.match(/sid=(fr[0-9a-f]+)/)![1]
|
||||
this.headers['Cookie'] += `arl=${this.arl}; sid=${sid}`
|
||||
this.headers['Cookie'] = `arl=${this.arl}; sid=${sid}`
|
||||
|
||||
const res = <APIMethod['deezer.getUserData']>results
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue