Comments (8)
I have tested Youtube 18.48.3 on IPad OS 16.7.2. and it works well.
I have not received similar reports from other users.
Are you using Surge?
from sgmodule.
No, I'm writing my client, similar to Surge, using quickjs to load the script, but I don't think it's the problem with quickjs, since I put the script and the data into node, it can't produce any result.
You can check this link https://github.com/FrontMage/web3d/releases/download/1.0.0/err.js for details, I think some of the YouTube users are experiencing a protocol change.
Just update const req = fs.readFileSync("../reqbody.dump");
to previous downloaded reqbody.dump path, then run node err.js
you will seed that the result of v.body is undefined, the code between console.log("Before eval");
and console.log("After eval");
is the code from https://raw.githubusercontent.com/Maasea/sgmodule/master/Script/Youtube/dist/youtube.request.beta.js
from sgmodule.
To add on top of the protocol change, if I use the request dump from a month before, then everything is fine.
But the recent request body will cause v.body to be an undefined value.
Previous body can be found on https://github.com/FrontMage/web3d/releases/download/1.0.0/browse-request-1.log
from sgmodule.
I see what you mean.
The first thing I'd like to ask is how reqbody.dump is captured, I tried to parse it using protoc but it prompted a format error, which means it’s probably not a protobuf.
BTW, I'm debugging the script with a body exported using surge, and it works with node after removing some of the built-in methods ($request, $done, etc.)
from sgmodule.
I wrote a MIMT program to intercept https traffic, and it is dumped from the MIMT request intercept section, so maybe there is something wrong with MIMT broke the protobuf, l'll try debug from here, maybe it's using quic? Since I did not block some of the UDP traffic.
from sgmodule.
As far as I know, only mitmproxy is perfecting quic-based mitm. None of the commonly used proxy tools support it, but of course it would be great if you develop an app that supports this feature. So, for YouTube traffic capture are based on TCP (HTTPS).
You can use other apps to capture the body first to further investigate.
from sgmodule.
Sure, I'm trying to use Charles to debug this.
from sgmodule.
Issue found, https://youtubei.googleapis.com/youtubei/v1/browse?key=AIzaSyB-63vPrdThhKuerbB2N_l7Kwwcxj6yUAc
this url sometimes produces none protobuf requests, instead of just panic, If I return the origin request body, it will work, I suspect surge and others are doing the same. Thx for the help!
from sgmodule.
Related Issues (20)
- 小火箭油管去广告-视频开头广告有时可以有时不行 HOT 9
- 油管视频pip部分失效 HOT 2
- arguments参数如何修改 HOT 4
- youtube脚本出现无法加载评论和推荐视频的情况 HOT 1
- YouTube module is not working HOT 1
- 关于最近一些奇怪的现象,来汇报一下 HOT 6
- YouTube看直播时出现大量RangeError日志 HOT 1
- QX failed to update with Parser HOT 1
- Youtube转圈
- YouTube播放页面有遗漏的广告 HOT 2
- Youtube Module not working! HOT 6
- QuantuX添加模块,报错 HOT 5
- What does these two rules mean? HOT 5
- Processing browse request throws Error: illegal tag: field no 3 wire type 7 HOT 2
- youtube字幕默认开启的问题 HOT 2
- PIP and background play on YouTube not working? HOT 5
- 更新YouTube版本,发现v1/get_watch HOT 6
- IOS Youtube app最新版本19.23.3小火箭去广告问题 HOT 5
- 可以添加自动字幕么
- Surge tv 作为旁路由,开启模块后电脑无法访问 youtube 视频
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sgmodule.