-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[rh:websockets] Add support for HTTP/HTTPS proxies #9625
Open
coletdjnz
wants to merge
48
commits into
yt-dlp:master
Choose a base branch
from
coletdjnz:networking/websockets-http-proxy
base: master
Could not load branches
Branch not found: {{ refName }}
Could not load tags
Nothing to show
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
[rh:websockets] Add support for HTTP/HTTPS proxies #9625
coletdjnz
wants to merge
48
commits into
yt-dlp:master
from
coletdjnz:networking/websockets-http-proxy
Conversation
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
…ts' into networking/websockets-http-proxy
…ts' into networking/websockets-http-proxy # Conflicts: # test/test_http_proxy.py
coletdjnz
added
bug
Bug that is not site-specific
enhancement
New feature or request
networking
core networking related
labels
Apr 6, 2024
coletdjnz
changed the title
[rh:websockets] Add support for HTTP/HTTPS proxies for websockets
[rh:websockets] Add support for HTTP/HTTPS proxies
Apr 6, 2024
9 tasks
coletdjnz
commented
Apr 6, 2024
coletdjnz
commented
Apr 6, 2024
coletdjnz
commented
Apr 6, 2024
coletdjnz
commented
Apr 6, 2024
pukkandan
reviewed
Apr 10, 2024
Comment on lines
+44
to
+48
urllib3_supported = False | ||
urllib3_version = tuple(int_or_none(x, default=0) for x in urllib3.__version__.split('.')) if urllib3 else None | ||
if urllib3_version and urllib3_version >= (1, 26, 17): | ||
urllib3_supported = True | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this check should be moved to dependencies.py as we discussed on discord
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will create another PR for this - out of scope for this one
10 tasks
this ensures it is used for both sockets in TLS-in-TLS
(so it is used for both ends of tls-in-tls)
coletdjnz
commented
May 18, 2024
pukkandan
reviewed
May 18, 2024
Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Bug that is not site-specific
enhancement
New feature or request
networking
core networking related
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
IMPORTANT: PRs without the template will be CLOSED
Description of your pull request and other information
Depends on #9578
--proxy
and websockets is installed #9509Template
Before submitting a pull request make sure you have:
In order to be accepted and merged into yt-dlp each piece of code must be in public domain or released under Unlicense. Check all of the following options that apply:
What is the purpose of your pull request?