trying to remove cache
This commit is contained in:
parent
65ceeda598
commit
8e8dd57cf6
|
@ -124,7 +124,7 @@ export async function createSabrStream(
|
||||||
streamResults: StreamResults;
|
streamResults: StreamResults;
|
||||||
}> {
|
}> {
|
||||||
const json = await Bun.file('config.json').json()
|
const json = await Bun.file('config.json').json()
|
||||||
const innertube = await Innertube.create({ cache: new UniversalCache(true), player_id: json.player_id });
|
const innertube = await Innertube.create({ player_id: json.player_id });
|
||||||
const webPoTokenResult = await generateWebPoToken(innertube.session.context.client.visitorData || '');
|
const webPoTokenResult = await generateWebPoToken(innertube.session.context.client.visitorData || '');
|
||||||
console.log(`debugging -> ${JSON.stringify(webPoTokenResult)}, ${videoId}`)
|
console.log(`debugging -> ${JSON.stringify(webPoTokenResult)}, ${videoId}`)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue