Skip to content

PlayerError: No valid URL to decipher #48

Description

@cyph84

Steps to reproduce

Run examples/downloader/main.ts

Failure Logs

Title: Lonely Afternoon
    Duration: 229
    Views: 290001
    Author: Windows 96 - Topic
    Video ID: xjHO_02jZco
  
Download failed: PlayerError: No valid URL to decipher
    at Player.decipher (/home/cyph/ktv/oss/googlevideo/examples/downloader/node_modules/youtubei.js/src/core/Player.ts:133:13)
    at createSabrStream (/home/cyph/ktv/oss/googlevideo/examples/downloader/utils/sabr-stream-factory.ts:185:65)
    at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
    at async main (/home/cyph/ktv/oss/googlevideo/examples/downloader/main.ts:27:31)

Expected behavior

Video to download

Current behavior

Download failed: PlayerError: No valid URL to decipher

Version

Default

Anything else?

Seems that playerResponse.streaming_data is not returned from Youtube now

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.
Pinned by LuanRT

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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