看到用 Stash 修复 VVebo 的用户时间线,可以用圈 X 实现吗

217 天前
 vpromise

VVebo 虽然已近下架许久没有更新,但可能还是最好用的微博客户端,可惜最近用户时间线不能正常显示了。在少数派看到有作者通过 Stash 利用 HTTP 重写,找回 VVebo 的用户时间线,有没有大佬能出手用圈 X 实现。

3544 次点击
所在节点    问与答
35 条回复
erfeirufeng
217 天前
等一个大佬,现在有工具把 qx 、loon 、surge 解析至 stash ,反之则不行。
byheaven0912
217 天前
提供一个 surge module ,自己本地建一个.sgmodule 文件,把下面内容填入就行了:
#!name= vvebo
#!desc=修复 vvebo 用户主页的显示
#!author=byheaven


[Script]
fix-vvebo-user-timeline = type=http-request, pattern=^https:\/\/api\.weibo\.cn\/2\/users\/show\?, requires-body=0, timeout=5, script-path=https://raw.githubusercontent.com/suiyuran/stash/main/scripts/fix-vvebo-user-timeline.js
fix-vvebo-user-timeline2 = type=http-request, pattern=^https:\/\/api\.weibo\.cn\/2\/statuses\/user_timeline\?, requires-body=0, timeout=5, script-path=https://raw.githubusercontent.com/suiyuran/stash/main/scripts/fix-vvebo-user-timeline.js
fix-vvebo-user-timeline3 = type=http-response, pattern=^https:\/\/api\.weibo\.cn\/2\/profile\/statuses\/tab\?, requires-body=1, timeout=5, script-path=https://raw.githubusercontent.com/suiyuran/stash/main/scripts/fix-vvebo-user-timeline.js
[MITM]
hostname = %APPEND% api.weibo.cn
blufaux
217 天前
同求圈 x 的
hallomou
217 天前
blufaux
217 天前
@hallomou 你怎么那么牛逼!!!
blufaux
217 天前
这玩意也能魔改,太牛逼了
magic3584
217 天前
@hallomou #4
@blufaux #5
请教大佬怎么用啊?我开了怎么没出来。
重写开关-开
配置文件-添加了 resource_parse_url=vvebo.js
引用资源重写-资源解析器开关-开
zhoushengyue
217 天前
@magic3584 mitm 开了吗?如果没开过的话还要安装描述文件啥的,我也搞了半天才成功
edinina
217 天前
太好了,一直只用 vvebo ,原来还可以这样
magic3584
217 天前
@zhoushengyue #8
开了,但是没加域名。。。
我加了域名和 rewrite_local 后,可以了。
magic3584
217 天前
实际上按脚本上面里加上**[mitm]**和**[rewrite_local]**,并且开始 MitM 就可以了。
terrychanin
217 天前
@magic3584 请问能不能具体描述一下添加步骤?感谢🙏
skyqiao
217 天前
以前的 cosmos 也挺好不错的
mhqschen
217 天前
等一个小火煎的
magic3584
217 天前
@terrychanin #12
1.设置,开启 MitM 。打开开关,会安装证书。
2.设置,MitM 添加主机名 api.weibo.cn
3.设置,重写,打开开关
4.编辑配置文件。复制脚本里上面注释部分的 rewrite_local 里的几行,粘贴到配置文件里的 rewrite_local 部分。
5.qx 开关一次
6. Done
hallomou
217 天前
@terrychanin
@magic3584
在 设置 - 重写( Rewrite ) - 资源( Resources )中点击添加,把我给的那个 js 文件地址粘贴到 Resource URL 里,然后开启 Resource Parser 就可以了。
terrychanin
217 天前
@magic3584
@hallomou 成功了,非常感谢二位。
GeorgeV
212 天前
用这方法能修复其他的微博 app 吗?比如墨客。。。
PANGPANGDigital
206 天前
@byheaven0912 老哥,这个我试了一下,发现小部分博主的主页还是加载不出来🥲
Jos4ph
181 天前
@mhqschen
找到小火箭 app 里「配置」模块,点击本地文件的配置文件,会弹出「编辑纯文本」,翻到最下面空白处添加:
[Script]
VVebo_Request = type=http-request,pattern=^https:\/\/api\.weibo\.cn\/2\/(users\/show\?|statuses\/user_timeline\?),requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/cylllllll/privateSgmodule/main/fix_vvebo_user_profile
VVebo_Response = type=http-response,pattern=^https:\/\/api\.weibo\.cn\/2\/profile\/statuses\/tab\?,requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/cylllllll/privateSgmodule/main/fix_vvebo_user_profile
[MITM]
hostname = %APPEND% api.weibo.cn
enable = true
ca-passphrase =
ca-p12 =
ca 证书我删除了,自己找安装方法,自动会填写进去的。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/995504

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX