Skip to content

No track formats found or This video requires age verification #18

@Walkyst

Description

@Walkyst

You are getting this error because did not configure YoutubeHttpContextFilter

First you need YouTube account on what you can view age restricted videos in your browser, for example you can check it on this video https://www.youtube.com/watch?v=B3eAMGXFw1o

In browser DevTools find one of these requests to InnerTube API (You can filter requests)
image

Then open request, look at Request Headers and find cookie field in it and find these two keys

  • __Secure-3PAPISID=
  • __Secure-3PSID=

Set these keys in YoutubeHttpContextFilter, paste only what going after =
(For lavalink users only need paste keys to PAPISID and PSID fields in your config file)

YoutubeHttpContextFilter.setPAPISID("key1")
YoutubeHttpContextFilter.setPSID("key2")

In this screenshots is used Telerik Fiddler Classic program with it very easy find required cookies and keys
image
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions