![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
This tool integrates and optimizes the commands submitted by Baidu webmaster API, and changes them into user-friendly Python functions to facilitate program calls.
本工具将百度站长API提交的命令集成优化,改成利于使用的Python函数,方便程序调用。
本工具由heStudio开发,你可以通过 https://www.hestudio.net/ 前往heStudio博客。
hbsst.py
(主程序, 隐藏)hbsst_config.json
(预设文件)hbsst_return.json
(系统返回值的文件)1.1. 你的设备需要安装Python 3,wget
1.2. 安装hbsst
pip install hbsst
1.3. 在工作目录创建预设
1.3.1. 新建 hbsst_config.json 文件
1.3.2. 写入预设
{
"预设名称": "百度站长的API接口调用地址"
}
例如:
{
"demo": "http://data.zz.baidu.com/urls?site=https://www.example.com&token=xxxxxxxxx"
}
例如:
python3 -c "import hbsst;hbsst.submit(config='demo', url='https://www.example.com/1.html')"
如果需要提交多个,可以用换行符\n
隔开。
例如:
python3 -c "import hbsst;hbsst.submit(config='demo', url='https://www.example.com/1.html\nhttps://www.example.com/2.html')"
返回结果会保存在 hbsst_return.json
内,在执行命令是结果会直接输出人类可以看懂的文字。开发者可以通过获取success或error的存在状态来判断是否成功提交,可以通过获取error的值来获取错误码。有关 hbsst_return.json
的内容结构,你可以访问 https://ziyuan.baidu.com/linksubmit/index 获取。
你可以直接提交PR到本仓库。
你可以使用以下方法:
FAQs
This tool integrates and optimizes the commands submitted by Baidu webmaster API, and changes them into user-friendly Python functions to facilitate program calls.
We found that hbsst demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.