-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[server] Add support for proxies (#33)
Closes #32 * [plugin] pass proxy to the server * untested! the committed code may contain potential issues * sort import block * [debug] print proxies * stringify proxies * Server side implementation WIP * use ydl.urlopen again * remove dundant object.values * remove ellipsis from the features tuple it's copied from coletdjnz's demo * [plugin] remove redundant assignment to rh.proxies [sessionmanager] add a logger class [version] use dirname/../package.json * Add error handling for bgutils functions * add support for proxies in process.env * variable naming * code formatting * process undefined proxy * Error handling for bgConfig fetch * Add support for env ALL_PROXY * code formatting * Simplify retrieving proxy from env variables * Add trailing comma for _SUPPORTED_FEATURES * prioritise env HTTPS_PROXY over ALL_PROXY * Select proxy for youtube * switch to select_proxy with yt api hostname * fix proxy type: bool->str --------- Co-authored-by: Brian Le <[email protected]> Co-authored-by: grqx_wsl <[email protected]>
- Loading branch information
1 parent
dee0d89
commit 11b20a4
Showing
8 changed files
with
233 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.