创建文档
This commit is contained in:
9
baiduPush.sh
Normal file
9
baiduPush.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
# 确保脚本抛出遇到的错误
|
||||
set -e
|
||||
|
||||
# 百度链接推送
|
||||
curl -H 'Content-Type:text/plain' --data-binary @urls.txt "http://data.zz.baidu.com/urls?site=https://xugaoyi.com&token=T5PEAzhGaPNbjQ2X"
|
||||
|
||||
rm -rf urls.txt # 删除文件
|
||||
Reference in New Issue
Block a user