bashonly
|
556aa5161e
|
Merge branch 'master' into networking/websockets-http-proxy
|
2024-06-12 02:01:26 -05:00 |
|
sepro
|
add96eb9f8
|
[cleanup] Add more ruff rules (#10149)
Authored by: seproDev
Reviewed-by: bashonly <88596187+bashonly@users.noreply.github.com>
Reviewed-by: Simon Sawicki <contact@grub4k.xyz>
|
2024-06-12 01:09:58 +02:00 |
|
coletdjnz
|
e1192b1bb3
|
initialize fake logger
|
2024-06-03 11:38:06 +12:00 |
|
coletdjnz
|
aef80ad64c
|
Update yt_dlp/networking/_websockets.py
Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com>
|
2024-06-03 11:20:02 +12:00 |
|
bashonly
|
db50f19d76
|
[rh:requests] Bump minimum requests version to 2.32.2 (#10079)
Closes #10078
Authored by: bashonly
|
2024-06-01 18:57:23 +00:00 |
|
Simon Sawicki
|
3f7999533e
|
[rh:requests] Patch support for requests 2.32.2+ (#9992)
Authored by: Grub4K
|
2024-05-22 16:22:25 +02:00 |
|
coletdjnz
|
c36513f1be
|
[rh:requests] Update to requests 2.32.0 (#9980)
Authored by: coletdjnz
|
2024-05-20 21:44:41 +00:00 |
|
coletdjnz
|
f1f1af9c67
|
Always send to stdout
|
2024-05-19 10:49:24 +12:00 |
|
coletdjnz
|
2c7ddb6234
|
Try this
|
2024-05-19 10:40:40 +12:00 |
|
coletdjnz
|
72bb0969bf
|
Missed something
|
2024-05-19 10:18:47 +12:00 |
|
coletdjnz
|
976cec10c9
|
Fix debug traffic for websockets proxy
|
2024-05-19 10:17:28 +12:00 |
|
coletdjnz
|
53b4d44f55
|
[test] Fix connect timeout test (#9906)
Fixes https://github.com/yt-dlp/yt-dlp/issues/9659
Authored by: coletdjnz
|
2024-05-18 19:12:21 +12:00 |
|
coletdjnz
|
6dcc99ee4a
|
Apply for legacy framing too for safe measure
|
2024-05-18 18:24:27 +12:00 |
|
coletdjnz
|
c2718e7ff5
|
misc cleanup
|
2024-05-18 18:07:29 +12:00 |
|
coletdjnz
|
0b255c531b
|
catch fix
|
2024-05-18 17:34:00 +12:00 |
|
coletdjnz
|
4cfce3b22f
|
minor fix
|
2024-05-18 17:28:25 +12:00 |
|
coletdjnz
|
d274eb1f53
|
Only use SSLTransport where tls-in-tls will be used
|
2024-05-18 17:18:21 +12:00 |
|
coletdjnz
|
8c0d5041df
|
revert
|
2024-05-18 15:54:38 +12:00 |
|
coletdjnz
|
44da2e1323
|
reset socket timeout before handing over to websockets
|
2024-05-18 15:43:43 +12:00 |
|
coletdjnz
|
b4e0d5ac16
|
Disable apply_mask C implementation
|
2024-05-18 14:38:44 +12:00 |
|
coletdjnz
|
c01179b581
|
cleanup
|
2024-05-18 13:54:01 +12:00 |
|
coletdjnz
|
101d9f53b4
|
always use WebSocketsSSLTransport if available
this ensures it is used for both sockets in TLS-in-TLS
|
2024-05-18 13:46:55 +12:00 |
|
coletdjnz
|
018acbb93c
|
does this resolve unclosed socket?
|
2024-05-18 12:48:50 +12:00 |
|
coletdjnz
|
3350bdeb87
|
refactoring and add http erro test
|
2024-05-18 12:23:22 +12:00 |
|
coletdjnz
|
0efd83b31a
|
patch SSLTransport to return b'' instead of 0 as EOF
Websockets only treats b'' as EOF
|
2024-05-18 11:41:36 +12:00 |
|
coletdjnz
|
51e99b0759
|
Merge remote-tracking branch 'upstream/master' into networking/websockets-http-proxy
# Conflicts:
# test/test_http_proxy.py
# test/test_networking.py
|
2024-05-11 11:09:44 +12:00 |
|
coletdjnz
|
3c7a287e28
|
[test] Add HTTP proxy tests (#9578)
Also fixes HTTPS proxies for curl_cffi
Authored by: coletdjnz
|
2024-05-11 10:06:58 +12:00 |
|
bashonly
|
bec9a59e8e
|
[networking] Add extensions attribute to Response (#9756)
CurlCFFIRH now provides an `impersonate` field in its responses' extensions
Authored by: bashonly
|
2024-05-04 22:19:42 +00:00 |
|
coletdjnz
|
0d520bc008
|
misc fixes
|
2024-05-03 17:09:26 +12:00 |
|
coletdjnz
|
8ea52ec344
|
Update yt_dlp/networking/_websockets.py
|
2024-05-03 17:04:33 +12:00 |
|
bashonly
|
216f6a3cb5
|
[cleanup] Misc (#9426)
Authored by: bashonly, pukkandan
|
2024-04-09 16:12:26 +00:00 |
|
luiso1979
|
79a451e576
|
[networking] Respect SSLKEYLOGFILE environment variable (#9543)
Authored by: luiso1979
|
2024-04-08 21:53:30 +02:00 |
|
coletdjnz
|
833862cfbc
|
misc cleanup
|
2024-04-06 15:50:48 +13:00 |
|
coletdjnz
|
01fe8e8fa6
|
Handle urllib3 not being available
|
2024-04-06 15:40:29 +13:00 |
|
coletdjnz
|
3999a510f7
|
Working websockets HTTP/S proxy
|
2024-04-06 15:14:59 +13:00 |
|
coletdjnz
|
39a45d48f9
|
somewhat working implementation
|
2024-03-31 22:04:21 +13:00 |
|
coletdjnz
|
e565e45a6f
|
[rh:curl_cffi] Fix HTTPS proxy support
|
2024-03-31 14:50:52 +13:00 |
|
bashonly
|
50c2935231
|
[ie] Add extractor impersonate API (#9474)
Authored by: bashonly, Grub4K, pukkandan
|
2024-03-30 23:18:07 +00:00 |
|
coletdjnz
|
e5d4f11104
|
[rh:websockets] Workaround race condition causing issues on PyPy (#9514)
Authored by: coletdjnz
|
2024-03-23 11:27:10 +13:00 |
|
coletdjnz
|
52f5be1f1e
|
[rh:curlcffi] Add support for curl_cffi
Authored by: coletdjnz, Grub4K, pukkandan, bashonly
Co-authored-by: Simon Sawicki <contact@grub4k.xyz>
Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com>
Co-authored-by: bashonly <bashonly@protonmail.com>
|
2024-03-16 23:15:11 -05:00 |
|
coletdjnz
|
0b81d4d252
|
Add new options --impersonate and --list-impersonate-targets
Authored by: coletdjnz, Grub4K, pukkandan, bashonly
Co-authored-by: Simon Sawicki <contact@grub4k.xyz>
Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com>
Co-authored-by: bashonly <bashonly@protonmail.com>
|
2024-03-16 23:14:13 -05:00 |
|
pukkandan
|
93240fc184
|
[cleanup] Fix misc bugs (#8968)
Closes #8816
Authored by: bashonly, seproDev, pukkandan, Grub4k
|
2024-03-11 00:51:26 +05:30 |
|
pukkandan
|
47ab66db0f
|
[docs] Misc Cleanup (#8977)
Closes #8355, #8944
Authored by: bashonly, Grub4k, Arthurszzz, seproDev, pukkandan
Co-authored-by: sepro <4618135+seproDev@users.noreply.github.com>
Co-authored-by: bashonly <bashonly@protonmail.com>
Co-authored-by: Arthurszzz <minecraftgamerarthur@gmail.com>
Co-authored-by: Simon Sawicki <accounts@grub4k.xyz>
Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
|
2024-03-11 00:48:47 +05:30 |
|
Simon Sawicki
|
dbd8b1bff9
|
Improve 069b2aedae2279668b6051627a81fc4fbd9c146a
Authored by: Grub4k
|
2024-03-10 20:44:53 +05:30 |
|
pukkandan
|
069b2aedae
|
Create ydl._request_director when needed
|
2024-02-25 06:06:42 +05:30 |
|
coletdjnz
|
0085e2bab8
|
[rh] Remove additional logging handlers on close (#9032)
Fixes https://github.com/yt-dlp/yt-dlp/issues/8922
Authored by: coletdjnz
|
2024-02-18 11:32:34 +13:00 |
|
coletdjnz
|
35f4f764a7
|
[rh:requests] Apply remove_dot_segments to absolute redirect locations
Fixes https://github.com/yt-dlp/yt-dlp/issues/9020
Authored by: coletdjnz
|
2024-01-21 10:03:33 +13:00 |
|
coletdjnz
|
811d298b23
|
[networking] Remove _CompatHTTPError (#8871)
Use `yt_dlp.networking.exceptions.HTTPError`.
`_CompatHTTPError` was to help with transition to the networking framework.
Authored by: coletdjnz
|
2024-01-20 15:26:50 +13:00 |
|
Simon Sawicki
|
f9fb3ce86e
|
[cleanup] Misc (#8598)
Authored by: bashonly, pukkandan, seproDev, Grub4K
Co-authored-by: bashonly <bashonly@protonmail.com>
Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com>
Co-authored-by: sepro <4618135+seproDev@users.noreply.github.com>
|
2023-12-30 22:27:36 +01:00 |
|
coletdjnz
|
ccfd70f4c2
|
[rh:websockets] Migrate websockets to networking framework (#7720)
* Adds a basic WebSocket framework
* Introduces new minimum `websockets` version of 12.0
* Deprecates `WebSocketsWrapper`
Fixes https://github.com/yt-dlp/yt-dlp/issues/8439
Authored by: coletdjnz
|
2023-11-20 08:04:04 +00:00 |
|