Skip to content

Commit

Permalink
Add trailing comma for _SUPPORTED_FEATURES
Browse files Browse the repository at this point in the history
  • Loading branch information
Brainicism committed Sep 18, 2024
1 parent 7a0a9b0 commit 06728e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugin/yt_dlp_plugins/extractor/getpot_bgutil_http.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class BgUtilHTTPPotProviderRH(GetPOTProvider):
VERSION = __version__
_SUPPORTED_PROXY_SCHEMES = (
'http', 'https', 'socks4', 'socks4a', 'socks5', 'socks5h')
_SUPPORTED_FEATURES = (Features.NO_PROXY, Features.ALL_PROXY)
_SUPPORTED_FEATURES = (Features.NO_PROXY, Features.ALL_PROXY, ...)

def _validate_get_pot(self, client: str, ydl: YoutubeDL, visitor_data=None, data_sync_id=None, player_url=None, **kwargs):
base_url = ydl.get_info_extractor('Youtube')._configuration_arg(
Expand Down
2 changes: 1 addition & 1 deletion plugin/yt_dlp_plugins/extractor/getpot_bgutil_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class BgUtilScriptPotProviderRH(GetPOTProvider):
VERSION = __version__
_SUPPORTED_PROXY_SCHEMES = (
'http', 'https', 'socks4', 'socks4a', 'socks5', 'socks5h')
_SUPPORTED_FEATURES = (Features.NO_PROXY, Features.ALL_PROXY)
_SUPPORTED_FEATURES = (Features.NO_PROXY, Features.ALL_PROXY, ...)

@classproperty(cache=True)
def _default_script_path(self):
Expand Down

0 comments on commit 06728e7

Please sign in to comment.