Skip to content

Error: Video is age restricted #9

Description

@sentry

Sentry Issue: NODEJS-83

Error: Video is age restricted
  File "/root/NodeBot/node_modules/yasha/src/api/Youtube.js", line 53, in check_playable
    throw new SourceError.UNPLAYABLE('Video is age restricted')
  File "/root/NodeBot/node_modules/yasha/src/api/Youtube.js", line 488, in YoutubeAPI.get_streams
    check_playable(player_response.playabilityStatus)
  File "node:internal/process/task_queues", line 95, in process.processTicksAndRejections
  File "/root/NodeBot/node_modules/yasha/src/api/Youtube.js", line 183, in YoutubeTrack.getStreams
    return await api.get_streams(this.id)
  File "/root/NodeBot/node_modules/yasha/src/TrackPlayer.js", line 319, in Player.load_streams
    streams = await this.track.getStreams();
...
(1 additional frame(s) were not displayed)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions