V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
vpromise
V2EX  ›  问与答

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

  •  
  •   vpromise · 152 天前 · 3188 次点击
    这是一个创建于 152 天前的主题,其中的信息可能已经有所发展或是发生改变。

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

    35 条回复    2024-03-15 09:23:33 +08:00
    erfeirufeng
        1
    erfeirufeng  
       152 天前 via iPhone
    等一个大佬,现在有工具把 qx 、loon 、surge 解析至 stash ,反之则不行。
    byheaven0912
        2
    byheaven0912  
       152 天前   ❤️ 2
    提供一个 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
        3
    blufaux  
       152 天前
    同求圈 x 的
    blufaux
        5
    blufaux  
       152 天前
    @hallomou 你怎么那么牛逼!!!
    blufaux
        6
    blufaux  
       152 天前
    这玩意也能魔改,太牛逼了
    magic3584
        7
    magic3584  
       152 天前
    @hallomou #4
    @blufaux #5
    请教大佬怎么用啊?我开了怎么没出来。
    重写开关-开
    配置文件-添加了 resource_parse_url=vvebo.js
    引用资源重写-资源解析器开关-开
    zhoushengyue
        8
    zhoushengyue  
       151 天前   ❤️ 1
    @magic3584 mitm 开了吗?如果没开过的话还要安装描述文件啥的,我也搞了半天才成功
    edinina
        9
    edinina  
       151 天前
    太好了,一直只用 vvebo ,原来还可以这样
    magic3584
        10
    magic3584  
       151 天前
    @zhoushengyue #8
    开了,但是没加域名。。。
    我加了域名和 rewrite_local 后,可以了。
    magic3584
        11
    magic3584  
       151 天前
    实际上按脚本上面里加上**[mitm]**和**[rewrite_local]**,并且开始 MitM 就可以了。
    terrychanin
        12
    terrychanin  
       151 天前
    @magic3584 请问能不能具体描述一下添加步骤?感谢🙏
    skyqiao
        13
    skyqiao  
       151 天前
    以前的 cosmos 也挺好不错的
    mhqschen
        14
    mhqschen  
       151 天前
    等一个小火煎的
    magic3584
        15
    magic3584  
       151 天前 via iPhone
    @terrychanin #12
    1.设置,开启 MitM 。打开开关,会安装证书。
    2.设置,MitM 添加主机名 api.weibo.cn
    3.设置,重写,打开开关
    4.编辑配置文件。复制脚本里上面注释部分的 rewrite_local 里的几行,粘贴到配置文件里的 rewrite_local 部分。
    5.qx 开关一次
    6. Done
    hallomou
        16
    hallomou  
       151 天前
    @terrychanin
    @magic3584
    在 设置 - 重写( Rewrite ) - 资源( Resources )中点击添加,把我给的那个 js 文件地址粘贴到 Resource URL 里,然后开启 Resource Parser 就可以了。
    terrychanin
        17
    terrychanin  
       151 天前
    @magic3584
    @hallomou 成功了,非常感谢二位。
    GeorgeV
        18
    GeorgeV  
       147 天前
    用这方法能修复其他的微博 app 吗?比如墨客。。。
    PANGPANGDigital
        19
    PANGPANGDigital  
       140 天前
    @byheaven0912 老哥,这个我试了一下,发现小部分博主的主页还是加载不出来🥲
    Jos4ph
        20
    Jos4ph  
       116 天前
    @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 证书我删除了,自己找安装方法,自动会填写进去的。
    mhqschen
        21
    mhqschen  
       108 天前 via iPhone
    @Jos4ph 感谢分享,试了下还是不行🥲
    mhqschen
        22
    mhqschen  
       108 天前 via iPhone
    @Jos4ph 发现删掉原来的证书重新生成个就好了,但是如果停止小火箭再打开,就又失效了……神奇
    Jos4ph
        23
    Jos4ph  
       108 天前
    @mhqschen 同,我干脆直接用 stash 算了=。=
    27149
        24
    27149  
       107 天前
    @mhqschen #22 因为停止再打开,会更新配置文件,手动编辑的内容被覆盖掉。
    mhqschen
        25
    mhqschen  
       107 天前
    @27149 #24 这个倒没有,配置文件里的内容还是在的。但是就是不行
    27149
        26
    27149  
       107 天前
    @mhqschen #25 我现在是用的小火箭模块实现的,但进主页需要下拉刷新一次才出现时间轴微博
    mhqschen
        27
    mhqschen  
       107 天前
    @27149 #26 能分享下模块么?之前看到人家分享的 surge 的直接拿来用不行。
    27149
        28
    27149  
       106 天前   ❤️ 2
    wheeliar
        29
    wheeliar  
       105 天前
    @27149 我也设置成功了,需要下拉刷新这一步有方法解决吗?
    lantuc
        30
    lantuc  
       105 天前 via iPhone
    @27149 你好,请问这个模块是直接添加后就能用了吗?需要别的操作吗?我添加后没有别的操作,还是老样子。
    27149
        31
    27149  
       104 天前
    @wheeliar 没有。QX 的重写实测不需要下拉,但模块转换后无效。其他办法我就不知道了。
    Jos4ph
        32
    Jos4ph  
       100 天前
    @mhqschen 和楼下同学说的一致,其实咱们默认用的是 app 自带的默认配置文件,你在「配置」里能找到一个名称叫做「 default.conf 」的文件,它会按照你设置的更新时间拉取 app 默认文件进行覆盖更新;所以就会出现你设置过,能用一下,但下次之后又失效了,这时候你点进那个文件里面,会发现你之前的内容被覆盖了。解决办法:copy 一份这个文件,在这个 copy 的文件上修改并使用 copy 的配置文件即可,不过也会出现楼下说的,进入主页需要下拉一下才能出现时间轴微博。
    mhqschen
        33
    mhqschen  
       100 天前
    @Jos4ph #32 我本来就是用的第三方配置文件,观察了下开关不会修改配置文件,脚本什么的也都在,不过还是不行。后来换了 @27149 提供的模块,就可以了,而且没有需要下拉的问题,可以自动载入。
    blufaux
        34
    blufaux  
       83 天前
    圈 x 好想不行了?
    sexoutsex2011
        35
    sexoutsex2011  
       43 天前
    @blufaux #34 同不行了
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2992 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 08:08 · PVG 16:08 · LAX 01:08 · JFK 04:08
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.