Skip to content

Commit

Permalink
add push baidu
Browse files Browse the repository at this point in the history
  • Loading branch information
disenone committed Apr 15, 2024
1 parent 8f2fdf2 commit 928f43c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/push_baidu/push_baidu.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 928f43c

Please sign in to comment.