john-ly
john-ly
1. 个人空间全部投稿视频+时间范围过滤 个人常用情形就是处理**增量**发布的视频 2. 不过每次全量拉取费时(网络不好 会增加重试/对网站也会造成一定的影响 看起来太像爬虫了) 在这处[代码行](https://github.com/yutto-dev/yutto/blob/main/yutto/extractor/user_all_ugc_videos.py#L41C35-L41C35) 建议 user-video-space 本身是按照 pubdate [已排序](https://github.com/yutto-dev/yutto/blob/main/yutto/api/space.py#L29),能不能每次解析一个视频 url,就立即下载(利用排序特性),而不是每次都要解析所有的视频 url ? 没细看代码,不知道是否容易扩展 :(
> > No, check out the git log we completely rewrote the frontend. Our changes are relatively self contained so you might be able to revise your changes on top...
> Well you need a trace to simulate. Use memtrace to capture traces then simulate them with zsim_trace > […](#) > On Fri, May 17, 2019, 9:17 AM Taya ***@***.***>...
同样101_3_2.0已经无法使用 3.0版本的加密js文件摘出来也不能用 1. 2.0js加密的密文是固定的 3.0 每调用一次加密就变化一次(这个原理不了解。。。) 2. 在浏览器控制台 找到比如 answer的fetch api 点击 浏览器返回的json结果也是error 不像以前是可以返回data数据的json
@botissue 3.0js代码一致 我是按照2.0改的 没啥问题 同样响应有错误 之前2.0加密能用 就没管 但是那个时候知乎的前端ajax请求就已经用3.0了