mirror of
https://github.com/wukko/cobalt.git
synced 2025-04-29 22:14:26 +02:00
api/youtube: update Session arguments to match new constructor
This commit is contained in:
parent
678f3a6c57
commit
6f6f885723
@ -72,13 +72,15 @@ const cloneInnertube = async (customFetch, useSession) => {
|
||||
|
||||
const session = new Session(
|
||||
innertube.session.context,
|
||||
innertube.session.key,
|
||||
innertube.session.api_key,
|
||||
innertube.session.api_version,
|
||||
innertube.session.account_index,
|
||||
innertube.session.config_data,
|
||||
innertube.session.player,
|
||||
cookie,
|
||||
customFetch ?? innertube.session.http.fetch,
|
||||
innertube.session.cache
|
||||
innertube.session.cache,
|
||||
sessionTokens?.potoken
|
||||
);
|
||||
|
||||
const yt = new Innertube(session);
|
||||
|
Loading…
x
Reference in New Issue
Block a user