gpt4 book ai didi

scripting - 自动将条目添加到 wiki

转载 作者:行者123 更新时间:2023-12-04 05:27:57 25 4
gpt4 key购买 nike

一旦我有了重命名的文件,我需要将它们添加到我的项目的 wiki 页面。这是一项相当重复的手动任务,所以我想我可以编写脚本,但我不知道从哪里开始。

过程是:

Got to appropriate page on the wiki

for each team member (DeveloperA, DeveloperB, DeveloperC)
{
for each of two files ('*_current.jpg', '*_lastweek.jpg')
{
Select 'Attach' link on page
Select the 'manage' link next to the file to be updated
Click 'Browse' button
Browse to the relevant file (which has the same name as the previous version)
Click 'Upload file' button
}
}

不一定要寻找完整的解决方案,因为我想自己尝试一下。

从哪里开始?我可以使用什么语言来做到这一点,它有多难?

最佳答案

检查您要与之交谈的 wiki 是否支持 XMLRPC ,因为如果确实如此,那应该很容易。我写了一个工具叫WikiUp解决类似的问题(更新维基页面上划定的部分)。

关于scripting - 自动将条目添加到 wiki,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12428/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com