""" @author: luojunhui """ import requests def update_articles(gh_id): """ :param gh_id: :return: """ url = "http://61.48.133.26:6060/article_crawler" headers = {"Content-Type": "application/json"} body = {"ghId": gh_id} response = requests.request("POST", url=url, headers=headers, json=body, timeout=20) print(response.json())