Commit Graph

22535 Commits

Author SHA1 Message Date
coletdjnz
aef80ad64c
Update yt_dlp/networking/_websockets.py
Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com>
2024-06-03 11:20:02 +12: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
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
a275b5e65a
cleanup 2024-05-18 17:44:10 +12:00
coletdjnz
d98ab542f6
Skip WSS in TLS tests for PyPy 2024-05-18 17:42:11 +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
82cceaed31
Only skip wss tests 2024-05-18 16:44:40 +12:00
coletdjnz
6282570bb2
import 2024-05-18 16:26:24 +12:00
coletdjnz
66a8530617
Skip HTTP Connect proxy tests for websockets if using PyPy 2024-05-18 16:24:36 +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
5078692aa2
Merge remote-tracking branch 'upstream/master' into networking/websockets-http-proxy 2024-05-18 14:52:39 +12:00
coletdjnz
b4e0d5ac16
Disable apply_mask C implementation 2024-05-18 14:38:44 +12:00
coletdjnz
0423915e24
fix 2024-05-18 14:13:44 +12:00
coletdjnz
f5cfe9e00a
test: always use SSLTransport if available
(so it is used for both ends of tls-in-tls)
2024-05-18 14:02:26 +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
1b96519a35
No I think this is requests/urllib3 again 2024-05-18 12:53:46 +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
12d8ea8246
[ie/youtube] Remove android from default clients (#9553)
Closes #9554
Authored by: coletdjnz, bashonly

Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
2024-05-17 16:03:02 +00:00
Justin Keogh
8e15177b41
[ie/youtube] Fix comments extraction (#9775)
Closes #9358
Authored by: jakeogh, minamotorin, shoxie007, bbilly1

Co-authored-by: minamotorin <76122224+minamotorin@users.noreply.github.com>
Co-authored-by: shoxie007 <74592022+shoxie007@users.noreply.github.com>
Co-authored-by: Simon <35427372+bbilly1@users.noreply.github.com>
2024-05-17 14:37:30 +00:00
Roeniss Moon
dd9ad97b1f
[cookies] Add --cookies-from-browser support for Whale (#9649)
Closes #9307
Authored by: roeniss
2024-05-17 14:33:12 +00:00
minamotorin
61b17437dc
[ie] Add POST data hash to --write-pages filenames (#9879)
Closes #9773
Authored by: minamotorin
2024-05-17 14:28:36 +00:00
kylegustavo
7975ddf245
[ie/bbc] Fix and extend extraction (#9705)
Closes #9701
Authored by: kylegustavo, dirkf, pukkandan
2024-05-17 06:20:13 +00:00
Podiumnoche
6d8a53d870
[ie/cda] Fix age-gated web extraction (#9939)
Closes #5980, Closes #6638
Authored by: Podiumnoche, Szpachlarz, dirkf, emqi
2024-05-16 22:41:34 +00:00
bashonly
4813173e45
[ie/twitter] Support x.com URLs (#9926)
Closes #9923
Authored by: bashonly
2024-05-16 22:36:56 +00:00
bashonly
41ba4a808b
[ie/tiktok] Extract via mobile API only if app_info is passed (#9938)
Partially addresses #9506
Authored by: bashonly
2024-05-16 22:27:09 +00:00
Mozi
351dc0bc33
[ie/eplus] Handle URLs without videos (#9855)
Authored by: pzhlkj6612
2024-05-13 23:21:11 +00:00
feederbox826
518c1afc15
[ie/pornhub] Fix login by email address (#9914)
Closes #9717
Authored by: feederbox826
2024-05-13 23:18:14 +00:00
WyohKnott
85ec2a337a
[ie/googledrive] Fix formats extraction (#9908)
Closes #8281
Authored by: WyohKnott
2024-05-12 23:05:47 +00:00
Jake Finley
b207d26f83
[ie/xvideos:quickies] Fix extractor (#9834)
Closes #6356
Authored by: JakeFinley96
2024-05-12 20:42:33 +00:00
sepro
01395a3434
[cleanup] Remove questionable extractors (#9911)
Closes #6279, Closes #6799
Authored by: seproDev
2024-05-12 22:12:11 +02:00
Haxy
cf212d0a33
[ie/youtube] Add mediaconnect client (#9546)
Authored by: clienthax
2024-05-12 16:03:36 +00:00
alard
6db96268c5
[ie/TV5Monde] Fix extractor (#9143)
Closes #9118
Authored by: alard, seproDev

Co-authored-by: sepro <4618135+seproDev@users.noreply.github.com>
2024-05-11 23:58:15 +02:00
Eric Lam
800a43983e
[ie/EuroParlWebstream] Support new URL format (#9647)
Authored by: voidful, seproDev

Co-authored-by: sepro <4618135+seproDev@users.noreply.github.com>
2024-05-11 23:50:59 +02:00
DaPotato69
7e4259dff0
Better warning when requested subs format not found (#9873)
Closes #9760
Authored by: DaPotato69
2024-05-11 21:11:40 +00:00
Stefan Lobbenmeier
f1f158976e
[cookies] Get chrome session cookies with --cookies-from-browser (#9747)
Partially addresses #5534
Authored by: StefanLobbenmeier
2024-05-11 17:25:39 +00:00
llamasblade
31b417e1d1
[ie/hytale] Use CloudflareStreamIE explicitly (#9672)
Authored by: llamasblade
2024-05-11 17:01:56 +00:00
Hugo Azevedo
fc2879ecb0
[ie/alura] Fix extractor (#9658)
Authored by: hugohaa
2024-05-11 16:54:29 +00:00
rrgomes
0a1a8e3005
[ie/nfb] Fix extractors (#9650)
Authored by: rrgomes
2024-05-11 16:38:41 +00:00
coletdjnz
db14294b5c
cleanup after merge 2024-05-11 11:11:39 +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