Skip to content

Got it working #72

@darrensteele

Description

@darrensteele

From Claude...

Great, glad it's working! Just to summarise what the chain of issues was in case it's useful:

ytmusicapi.setup() was timing out due to a Brotli decompression issue — fixed by installing brotli
The HTTP request line (POST /youtubei/v1/browse... HTTP/3) was slipping through parse_headers into the headers dict because the request line strip happened after the early return
The early return was also returning the original headers_text instead of the cleaned lines, so the request line persisted even when headers were already formatted

Now make sure brotli is in your requirements.txt so it doesn't bite you again on a fresh install:

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