Host your own BgUtils POT Provider server for yt-dlp on Heroku.
You need Heroku CLI.
- Clone this repository.
- Create an app on Heroku.
- Set git remote to Heroku
heroku git:remote -a your-app-name
. - Set stack to container
heroku stack:set container -a your-app-name
. - Deploy to Heroku
git push heroku main
.
You need Docker.
- Build the image and push to Container Registry
heroku container:push web -a your-app-name
. - Release the image
heroku container:release web
.
yt-dlp --extractor-args "youtube:getpot_bgutil_baseurl=https://your-app-name.herokuapp.com" https://www.youtube.com/watch?v=BaW_jenozKc