Add Proof-of-origin token provider#53
Conversation
Mirrors https://github.com/jim60105/bgutil-ytdlp-pot-provider-rs/releases/latest behavior so users don't have to rename the file after downloading it
|
Interesting, have you tested this and verified that it works? AKA: can this play from YT when hosted from a typical cloud provider/VPS? How do we setup bgutils? Is it possible to package bgutils into the final jar as part of build/package step in maven (by defining a dependency in the pom.xml)? |
❌ 2 Tests Failed:
View the top 2 failed test(s) by shortest run time
To view more test analytics, go to the Test Analytics Dashboard |
Firstly, nope, I don't really have a reliable way to check if it works since I don't have access to a VPS, so further testing is needed. To setup the pot provider, just go to the releases tab in bgutil-ytdlp-pot-provider-rs, download the Lastly, the library is in another language (Rust, which is a compiled language and therefore platform-dependent), so if it were to be shipped with the .jar the code would have to extract only the right file for that specific platform, which alone weighs about 43MB. The most feasible solutions are either to have the user download the library manually, or to automatically download it directly from GitHub. |
This pull request...
Description
Adds the
generatePOToption (disabled by default) for automatic POT generation through bgutil-ytdlp-pot-provider-rs.See the yt-dlp wiki for more information regarding PO tokens.
Purpose
Can be used as fallback/replacement for OAuth when having issues with 403 errors.
Relevant Issue(s)
This PR closes issue #49