Skip to content

<14.0.0> <title and most other variables return unknown in Cloud Run> #977

@rodboro777

Description

@rodboro777

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

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions