-
-
Notifications
You must be signed in to change notification settings - Fork 304
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Steps to reproduce
The retrieval of title and author works fine on localhost but returns undefined when the same exact code is deployed on Cloud Run
const youtube = await Innertube.create({
lang: 'en',
location: 'US',
retrieve_player: false,
enable_safety_mode: false // Important: avoid "video unavailable" errors
});
const info = await youtube.getInfo(videoId);
console.log(JSON.stringify(info, null, 2));
console.log(`${info.basic_info?.title}, Author: "${info.basic_info?.author}"`);
Failure Logs
Testing: http://localhost:8080
Transcript only title: Me at the zoo
Transcript only author: jawed
method: youtubei.js
In Cloud Run:
Title: "Unknown Title", Author: "Unknown Author", Language: "en"
Expected behavior
Expected to see the title and author in Cloud Run too
Current behavior
Currently Does not display title and author in Cloud Run, but fetches transcript data fine
Version
Default
Anything else?
No response
Checklist
- I am running the latest version.
- I checked the documentation and found no answer.
- I have searched the existing issues and made sure this is not a duplicate.
- I have provided sufficient information.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working