abnerwei / hexo-url-submission

Quickly submit new post URLs to Google, Bing, and Baidu search engines to improve the quality and speed of website inclusion
https://abnerwei.com/wiki/hexo/url-submission
MIT License
36 stars 5 forks source link

[报告问题] 提交失败 `Extract url file failed` #8

Closed yyhhkya closed 1 year ago

yyhhkya commented 1 year ago

image

提交(hexo d)失败

yyhhkya commented 1 year ago

image image image

abnerwei commented 1 year ago

感谢反馈,我来排查下

来自 Abnerwei

在 2022年12月6日,01:39,yyhhkya @.***> 写道:



— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.

abnerwei commented 1 year ago

image

提交(hexo d)失败

从log看,应该是生成url列表文件失败了,可以贴一下详细的log吗?

yyhhkya commented 1 year ago

这个问题我已经解决了 原因是因为我以为urls_path是自动生成的 我把这个改成已经生成好的链接就可以了 image

但是谷歌推送不了 提交提示Google key file not exist. 我的json文件就在网站的根目录 image

abnerwei commented 1 year ago

这个应该是google key 参数配置问题,google_key 那里填写 json 文件路径,例如: ./data/google_key.json 新版本里会加上一些默认值,降低配置成本

yyhhkya commented 1 year ago

image 我改成了这样 还是不行

yyhhkya commented 1 year ago

一直提示Google key file not exist.

abnerwei commented 1 year ago

google_key 的 json 文件放在项目根目录,这样没问题

yyhhkya commented 1 year ago

我也不知道是怎么回事 但他就提示密钥文件不存在

yyhhkya commented 1 year ago

image

abnerwei commented 1 year ago

image

这个配置文件,无需提交到public目录,不要暴露出去,放在你的 hexo 源文件目录即可。

yyhhkya commented 1 year ago

这个文件是就放在source文件夹里面就行了吗

abnerwei commented 1 year ago

这个文件是就放在source文件夹里面就行了吗

放到source会打包到public,放在source同级,项目根目录就好

yyhhkya commented 1 year ago

image

好的 谢谢 问题已经解决啦~