From e667591af89b1021045a2aa4ca167fddd6c4a505 Mon Sep 17 00:00:00 2001 From: Simon Date: Fri, 30 Jan 2026 19:25:56 +0700 Subject: [PATCH] handle pot plugin noop --- backend/download/src/yt_dlp_base.py | 11 +++++++++++ backend/requirements.txt | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/backend/download/src/yt_dlp_base.py b/backend/download/src/yt_dlp_base.py index 212401d2..383d9166 100644 --- a/backend/download/src/yt_dlp_base.py +++ b/backend/download/src/yt_dlp_base.py @@ -89,6 +89,17 @@ class YtWrap: } }, ) + return + + # https://github.com/Brainicism/bgutil-ytdlp-pot-provider/pull/185 + deep_merge( + self.obs, + { + "extractor_args": { + "youtubepot-bgutilhttp": {"disable": ["True"]} + } + }, + ) def download(self, url): """make download request""" diff --git a/backend/requirements.txt b/backend/requirements.txt index 6f73909b..5bde3ac0 100644 --- a/backend/requirements.txt +++ b/backend/requirements.txt @@ -1,5 +1,5 @@ apprise==1.9.7 -bgutil-ytdlp-pot-provider==1.2.2 +bgutil-ytdlp-pot-provider @ git+https://github.com/bbilly1/bgutil-ytdlp-pot-provider@c3f7bf4c99f8eb62015cb1c4142324f3d681cf07#subdirectory=plugin celery==5.6.2 deepdiff==8.6.1 django-auth-ldap==5.3.0