Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] yt-dlp proposed extractor_args and PO Token client #222

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

erinhmclark
Copy link
Collaborator

@erinhmclark erinhmclark commented Feb 25, 2025

Added in (currently wildly untested) implementation for flexible extractor_args.
A token can be passed to yt-dlp via the orchestration.yaml such as :
Directly pass a token like:

generic_extractor:
    extractor_args:
        youtube:
            po_token: "ios.gvs+XXX" 

Where the PO Token in this case has a client of ios and a context of gvs. Add multiple like this:
po_token: "ios.gvs+TOKEN1,web.gvs+TOKEN2,tv.player+TOKEN3"

This would be the example if using https://github.com/Brainicism/bgutil-ytdlp-pot-provider/
[Note you need to be running the Docker container as shown below]

  extractor_args:
    youtube:
      getpot_bgutil_baseurl: "http://127.0.0.1:4416"

This requires you to run:

docker run --name bgutil-provider -d -p 4416:4416 brainicism/bgutil-ytdlp-pot-provider  

If using https://github.com/coletdjnz/yt-dlp-getpot-wpc is should create the context automatically, but uses a non-headless browser.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant