diff --git a/tools/push_baidu/push_baidu.py b/tools/push_baidu/push_baidu.py index 27876223..1704aefc 100644 --- a/tools/push_baidu/push_baidu.py +++ b/tools/push_baidu/push_baidu.py @@ -64,7 +64,7 @@ def Run(): if url in processed_dict: continue print('pushing url:', url) - ret = requests.post(push_url, data='\n'.join(urls), headers={'ContentType': 'text/plain'}, timeout=10) + ret = requests.post(push_url, data=url, headers={'ContentType': 'text/plain'}, timeout=10) print('push result:', ret.content) if ret.status_code != 200: