diff --git a/changebushu.py b/changebushu.py index fbeb609..578955a 100644 --- a/changebushu.py +++ b/changebushu.py @@ -94,7 +94,7 @@ def main(): return result def get_time(): - url = 'http://api.m.taobao.com/rest/api3.do?api=mtop.common.getTimestamp' + url = 'https://acs.m.taobao.com/gw/mtop.common.getTimestamp/' response = requests.get(url, headers=headers).json() t = response['data']['t'] return t diff --git a/changebushu_Action.py b/changebushu_Action.py index 8762398..3b392ea 100644 --- a/changebushu_Action.py +++ b/changebushu_Action.py @@ -85,7 +85,7 @@ def main(): def get_time(): - url = 'http://api.m.taobao.com/rest/api3.do?api=mtop.common.getTimestamp' + url = 'https://acs.m.taobao.com/gw/mtop.common.getTimestamp/' response = requests.get(url, headers=headers).json() t = response['data']['t'] return t