-
Notifications
You must be signed in to change notification settings - Fork 37
Use QUIC when connecting to YouTube #115
Comments
Awesome! This is really the answer to what we were doing! |
It won't be easy to implement because the most famous Python library for using QUIC, aioquic, doesn't support the Google implementation version: Q046 and Q050. Instead, it only supports draft-28. You can find a detailed explanation from omarroth himself here: searx/searx#729 (comment) That's why omarroth made Crystal bindings to lsquic library: https://github.com/iv-org/lsquic.cr One possible way to introduce a support for QUIC Q046 and Q050 version in this project would be to use a proxy in Golang with a Golang library that support the versions. Like http3-proxy but with another library because the current one only support draft-29 and draft-32. |
Thank you for this information! I will be investigating when I have time. If anyone want to take this (or any) issue don't doubt about it. |
Q0xx versions are the application protocol of QUIC, the HTTP/3 versions are different. Take a look at this, even lsquic doesn't support these protocols for HTTP/3.
We currently look like a Firefox browser with
The Golang proxy uses http/2 due the
Like I said above, this would need some research as we use Firefox's UA and Firefox does not report the QUIC version in its devtools. |
You are incorrect, lsquic does support, take a look at the description of its GitHub repository: https://github.com/litespeedtech/lsquic#description Like I included in my previous comment, omarroth explained that here: searx/searx#729 (comment)
Firefox doesn't support the QUIC implementation of Google. It does matter to send HTTP requests using the QUIC implementation of Google because you make it even better to look like a Google Chrome browser, that's why Invidious even use a Chromium user agent: https://github.com/iv-org/invidious/blob/master/src/invidious/helpers/utils.cr#L5 |
I can't be find the supported version of https://github.com/cloudflare/quiche |
Turns out you are right indeed.
This is no longer true, they have support for draft-29 now.
I don't see why this matters, is there any reason to look like chrome? Has anyone tested/proved that the IETF draft doesn't bypass the captcha? |
This supports draft-27, draft-28 and draft-29. |
Let's imagine it does in fact bypass it, if they found out about it then they could start giving captcha to clients that support only draft-29 but not for Q050 because up to this day only browsers based on Chromium like Google Chrome support it. |
In that case, we should use pre-existing libraries unless they are unstable or YouTube changes something. The only libraries which support |
Might be a region-specific change then, I still see it using draft-29 on google.com. I tested on chrome on windows 10 with all flags reset. |
Sorry, the When I switch back to |
Today, I discovered something interesting about bypassing Google's Recaptcha.
iv-org/invidious#957 (comment)
According to Omar's comment, the type of captcha
/das_captcha
can be bypassed completely when using QUIC. This would be huge and would fix #103 if true.The text was updated successfully, but these errors were encountered: