y3s0n

Results 23 comments of y3s0n

I just met the same problem as you. I think this action used the default repo user (for an organization, the user is the org) to auth to github instead....

> @CharesFang The user should be always `git` which is defined as part of the source/destination repo inputs. Thanks for your reply! I'm trying to find out the bugs.

> This works. > > ```yaml > jobs: > git-mirror: > runs-on: ubuntu-latest > steps: > - uses: wearerequired/git-mirror-action@v1 > env: > SSH_PRIVATE_KEY: ${{ secrets.SYNC_REPO_PRIVATE_KEY }} > with: > source-repo:...

Hi, if there are any need for English translation reviews, please just @me.

> 可否增加爬取 搜索页面 的功能(输入关键词,爬取搜索页面的所有博文) 原来实现过这个功能,实现逻辑同`user_info` and `tweet_info`,有兴趣PR吗,最近我可能不太有空闲的时间,不好意思

> 可否增加爬取 搜索页面 的功能(输入关键词,爬取搜索页面的所有博文) 可以参考[v1.0](https://github.com/CharesFang/WeiboSpider/blob/v1.0/WeiboSpider/spiders/KeyWordsSpider.py)这个链接中的代码,不过1.0版本太难用了,所有我后来进行了重构,但是没有把这块儿功能迁移过来

> **额,最近又懒下去了,功能随缘扩展,文档随缘写,有需求请疯狂push我** 最近太忙了,有机会一定把没有弄完的文档+进一步重构

额,暂时还没有实现这个功能,不过微博倒是提供了这个接口的

> > 额,暂时还没有实现这个功能,不过微博倒是提供了这个接口的 > > @CharesFang > > 请问 m.weibo.cn 有这样的接口吗? 有的,之前在m站点爬去,你可以在手机上寻找一下这个功能然后分析API

> 安卓手机端好像没有找到限制时间段的功能,大佬能不能截图看一下... > > https://github.com/CharesFang/WeiboSpider/blob/v1.0/WeiboSpider/spiders/KeyWordsSpider.py 还有就是请问1.0版本这里是用`display_time` 限制时间吗?但是设置为`3.27 00:00 `(即`display_time=`) 所返回的结果 [第一页开始时间](https://m.weibo.cn/api/container/getIndex?containerid=100103type%3D61%26q%3D%E7%96%AB%E6%83%85&t=10&isnewpage=1&extparam=c_type=30&pos=2&mi_cid=100103&source=ranklist&flag=0&filter_type=realtimehot&cate=0&display_time=1648310400&luicode=10000011&lfid=231583&page_type=searchall&page=1) 不为`3.27 00:00 `,[最后一页结束时间](https://m.weibo.cn/api/container/getIndex?containerid=100103type%3D61%26q%3D%E7%96%AB%E6%83%85&t=10&isnewpage=1&extparam=c_type=30&pos=2&mi_cid=100103&source=ranklist&flag=0&filter_type=realtimehot&cate=0&display_time=1648310400&luicode=10000011&lfid=231583&page_type=searchall&page=249) 也不为`3.27 00:00 `,而是从`time.now()`到`3.26`的结果都有 > > 请问使用`display_time`限制时间段吗?如果是的话限制的到底是开始时间还是结束时间?不是的话有其他参数控制吗? > > 对了新的app中使用的是新的接口,`display_time`似乎变成了`ul_ctime`但修改后还是同样的结果 1. v1.0的代码我已经记不得啥样的了,当时也不太会写代码写得有点乱,直接看master branch上就好。 2. https://github.com/CharesFang/WeiboSpider/blob/v1.0/WeiboSpider/spiders/KeyWordsSpider.py#L24-L31 这一块儿是根据关键字获取对应文本的接口,`display_time`这几个参数我没有做分析。 3....