Zhiyuan Ma

Results 4 issues of Zhiyuan Ma

https://api.weibo.cn/2/profile/container_timeline 在浏览用户主页时插入到该用户微博timeline中,json样式如下: 同样有`"mblogtype" : 1`的标记,所以可以使用已有的方法来处理。https://github.com/yichahucha/surge/blob/613f9b278aaf2386d81cf0aa06da75d7b7861d2f/wb_ad.js#L279-L285 Quantumult X里的用法: ^https://api.weibo.cn/2/profile/container_timeline url script-response-body https://raw.githubusercontent.com/ZhiyuanMa2017/Scripts/master/wb_ad_test_2.js

similar to https://github.com/yichahucha/surge/issues/117 ```properties [rewrite_local] ^https?://m?api\.weibo\.c(n|om)/2/(cardlist|searchall|page|messageflow|statuses/(unread_)?friends(/|_)timeline|groups/timeline|statuses/(container_timeline|unread_hot_timeline|extend|video_mixtimeline|repost_timeline)|profile/(me|container_timeline)|video/(community_tab|remind_info|tiny_stream_video_list)|checkin/show|\!/live/media_homelist|comments/build_comments|container/get_item|search/(finder|container_timeline|container_discover)) url script-response-body https://raw.githubusercontent.com/zmqcherish/proxy-script/main/weibo_main.js [mitm] hostname = api.weibo.cn, mapi.weibo.com, *.uve.weibo.com ``` 我现在使用的配置如上: 本项目的配置,rewrite_local里这个是第一条。 但是近期出现的状况是时不时的重写会失效,微博搜索,微博详情页,评论区广告重新出现。 令人费解的问题是:比如微博搜索的url是searchall,单条微博页面的url是statuses/extend,微博评论区的加载url是 comments/build_comments,在重写失效时打开http抓取,再去点开另一条微博/搜索另一个关键词,数据抓取中根本不会出现这三个url。就像是Quantumult X的抓取和重写直接失效了一样?…… (我的数据抓取是默认配置,匹配所有主机名) 有哪位朋友遇到过类似的情况,知道如何解决吗?

```properties [rewrite_local] ^https://api.weibo.cn/2/profile/container_timeline url script-response-body https://raw.githubusercontent.com/ZhiyuanMa2017/Scripts/master/wb_ad_test_2.js ^https://api.weibo.cn/2/searchall url script-response-body https://raw.githubusercontent.com/ZhiyuanMa2017/Scripts/master/wb_ad_test_2.js ^https://api.weibo.cn/2/statuses/repost_timeline url script-response-body https://raw.githubusercontent.com/ZhiyuanMa2017/Scripts/master/wb_ad_test_5.js ^https://api.weibo.cn/2/statuses/extend url script-response-body https://raw.githubusercontent.com/ZhiyuanMa2017/Scripts/master/wb_ad_test_4.js ^https?://m?api\.weibo\.c(n|om)/2/(messageflow/notice|search/(container_timeline|finder)|statuses/(container_timeline_hot|container_timeline_unread|container_timeline|unread|extend|positives/get|(friends|video)(/|_)(mix)?timeline)|stories/(video_stream|home_list)|(groups|fangle)/timeline|profile/statuses|comments/build_comments|photo/recommend_list|service/picfeed|searchall|cardlist|page|!/(photos/pic_recommend_status|live/media_homelist)|video/tiny_stream_video_list|photo/info|remind/unread_count) url script-response-body https://raw.githubusercontent.com/yichahucha/surge/master/wb_ad.js ^https?://(sdk|wb)app\.uve\.weibo\.com(/interface/sdk/sdkad.php|/wbapplua/wbpullad.lua) url script-response-body https://raw.githubusercontent.com/yichahucha/surge/master/wb_launch.js ^https://api.weibo.cn/2/ad/weibointl url script-response-body https://raw.githubusercontent.com/ZhiyuanMa2017/Scripts/master/wb_ad_test.js...