我在爬取bing每日一图时,通过bt面板自动化执行以下指令:
cd /root/bing_img/
day='date +%Y-%m-%d'
mkdir $day
cd $day
wget 'https://andy666.net/img/getimg.php?t=UHD&c=cn' -O cn.jpg
wget 'https://andy666.net/img/getimg.php?t=UHD&c=jp' -O jp.jpg
成功或取到本地磁盘;
通过rclone执行以下指令:
rclone mount cDrive:/ /root/bing_img --copy-links --no-gzip-encoding --allow-other --allow-non-empty --vfs-cache-mode writes
对本地磁盘与webdav进行同步时出现错误
* 共获取两张图片,其一(jp.jpg)正常上传,其二爆错:
- rclone端爆错 2021/12/06 12:38:40 ERROR : 2021-12-06/cn.jpg: Failed to copy: Method Not Allowed: 405 Method Not Allowed
2021/12/06 12:38:40 ERROR : 2021-12-06/cn.jpg: vfs cache: failed to upload try #9, will retry in 5m0s: vfs cache: failed to transfer file from cache to remote: Method Not Allowed: 405 Method Not Allowed
- cloudreve端爆错[Warning] 2021-12-06 12:37:46 无法插入目录记录, UNIQUE constraint failed: folders.name, folders.parent_id
[GIN] 2021/12/06 - 12:37:46 | 201 | 5.338133ms | 194.163.148.24 | MKCOL /dav/2021-12-06/
[GIN] 2021/12/06 - 12:38:39 | 405 | 52.826598093s | 194.163.148.24 | PUT /dav/2021-12-06/cn.jpg
[GIN] 2021/12/06 - 12:38:40 | 404 | 2.317197ms | 194.163.148.24 | DELETE /dav/2021-12-06/cn.jpg
求助:请问我可以如何解决?