Skip to main content

submit url to baidu.

Project description



This tool help you to submit your url to baidu.

Only for python3.

The code is simple, I also use it to learn how to package python projects.

About the detail of submit url to baidu, you can visit:


pip install baidu-url-submit


import baidu_url_submit

site = "" # your site
token = "xxx" # from
urls = [
    ] # urls to submit

result = baidu_url_submit.submit(site, token, urls)
# if result == 2, it means two url submit success.
# if result < 2, it means some urls submit fail.
# The reason why submit fail:
# 1. The submitted url is not the url of this site.
# 2. invalid url



Project details

Release history Release notifications

This version


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for baidu-url-submit, version 1.0.0
Filename, size & hash File type Python version Upload date
baidu_url_submit-1.0.0-py3-none-any.whl (3.6 kB) View hashes Wheel py3
baidu-url-submit-1.0.0.tar.gz (2.2 kB) View hashes Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page