Skip to content

Null response from youtube #150

@barbetb

Description

@barbetb

Using the latest version of this library I tried to download video. I get a null response:

2025-03-25T00:43:50.536+01:00 DEBUG 73911 --- [nio-8443-exec-2] s.n.www.protocol.http.HttpURLConnection  : sun.net.www.MessageHeader@6f3210f49 pairs: {POST /youtubei/v1/player?key=AIzaSyAO_FJ2SlqU8Q4STEHLGCilw_Y9_11qcW8 HTTP/1.1: null}{Accept-language: en-US,en;}{User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36}{Accept-Encoding: gzip}{Content-Type: application/json}{Host: www.youtube.com}{Accept: */*}{Connection: keep-alive}{Content-Length: 142}
2025-03-25T00:43:50.573+01:00 DEBUG 73911 --- [nio-8443-exec-2] s.n.www.protocol.http.HttpURLConnection  : sun.net.www.MessageHeader@645d50cd13 pairs: {null: HTTP/1.1 200 OK}{Content-Type: application/json; charset=UTF-8}{Vary: Origin}{Vary: X-Origin}{Vary: Referer}{Content-Encoding: gzip}{Date: Mon, 24 Mar 2025 23:43:50 GMT}{Server: scaffolding on HTTPServer2}{X-XSS-Protection: 0}{X-Frame-Options: SAMEORIGIN}{X-Content-Type-Options: nosniff}{Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000}{Transfer-Encoding: chunked}

Since I see it's a 200 OK, I'm a bit confused to what happened. The URL I tried was this:
https://www.youtube.com/watch?v=V9reKW8DpS8

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