Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问是否可以增加2个chrome-for-testing中的json文件的同步 #730

Closed
JokerYF opened this issue Nov 21, 2024 · 9 comments · Fixed by #737
Closed

请问是否可以增加2个chrome-for-testing中的json文件的同步 #730

JokerYF opened this issue Nov 21, 2024 · 9 comments · Fixed by #737
Assignees
Labels
enhancement New feature or request

Comments

@JokerYF
Copy link

JokerYF commented Nov 21, 2024

RT
请求同步的json文件:
https://googlechromelabs.github.io/chrome-for-testing/last-known-good-versions.json
https://googlechromelabs.github.io/chrome-for-testing/latest-patch-versions-per-build.json
请求同步原因:
这两个json文件原本是我在自己的gitee项目中,同步github项目实现的,然后直接请求获取版本信息,今天突然发现gitee禁止我这个项目中直接请求json文件了
https://gitee.com/Joker_JH/DriverRelease/raw/master/ChromeDriverLastVersion.json
image
是否可以帮忙同步一下这两个json文件,文件大小并不大,不会占用太多资源
image
image

@fengmk2
Copy link
Member

fengmk2 commented Nov 22, 2024

这2个是动态更新的数据,无法同步。

@JokerYF
Copy link
Author

JokerYF commented Nov 22, 2024

这2个是动态更新的数据,无法同步。

能不能把这两个文件的内容同步保存到chrome-for-testing目录下,并以json文件形式保存?只需要定时更新就可以了,文件中有时间戳记录文件最后更新时间,可以判断是否需要更新文件内容,如果时间戳变化,将新文件同步一下即可

@fengmk2
Copy link
Member

fengmk2 commented Nov 22, 2024

可以来提交 pr 贡献代码

@JokerYF
Copy link
Author

JokerYF commented Nov 22, 2024

抱歉抱歉,我TS水平不太行。。。

@JokerYF
Copy link
Author

JokerYF commented Nov 22, 2024

支持Python提交不?。。。

@fengmk2 fengmk2 self-assigned this Nov 30, 2024
@fengmk2 fengmk2 added the enhancement New feature or request label Nov 30, 2024
@fengmk2
Copy link
Member

fengmk2 commented Nov 30, 2024

我尝试一下

@JokerYF
Copy link
Author

JokerYF commented Dec 2, 2024

非常感谢更新!

@fengmk2
Copy link
Member

fengmk2 commented Dec 2, 2024

非常感谢更新!

希望能够帮助到你

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants