update inx
This commit is contained in:
parent
d5628dea7b
commit
f7bbf6a36c
1 changed files with 5 additions and 2 deletions
|
@ -35,8 +35,11 @@ class Ans(StdAns):
|
||||||
|
|
||||||
|
|
||||||
def getMG():
|
def getMG():
|
||||||
req = requests.get("https://hq.sinajs.cn/etag.php?_=1584712625172&list=gb_$inx,gb_$ixic,gb_$dji").text.split(',')
|
req = requests.get("https://hq.sinajs.cn/etag.php?_=1584712625172&list=gb_$inx,gb_$ixic,gb_$dji").text.split(';')
|
||||||
return req[2], req[29], req[56]
|
inx = req[0].split(',')[2]
|
||||||
|
ixic = req[1].split(',')[2]
|
||||||
|
dji = req[2].split(',')[2]
|
||||||
|
return inx, ixic, dji
|
||||||
|
|
||||||
def emoji(p,n):
|
def emoji(p,n):
|
||||||
n = float(n)
|
n = float(n)
|
||||||
|
|
Loading…
Reference in a new issue