mirror of
https://github.com/daiyanan1992/qinglongtest
synced 2025-12-17 15:25:04 +08:00
旧域名到期, 更新api
This commit is contained in:
2
iqiyi.py
2
iqiyi.py
@@ -151,7 +151,7 @@ class Iqiyi:
|
|||||||
stdout.flush()
|
stdout.flush()
|
||||||
|
|
||||||
def get_dfp_params(self):
|
def get_dfp_params(self):
|
||||||
get_params_url = "https://api.ruirui.fun/iqiyi/get_dfp"
|
get_params_url = "https://api.lomoruirui.com/iqiyi/get_dfp"
|
||||||
data = get(get_params_url).json()
|
data = get(get_params_url).json()
|
||||||
return data
|
return data
|
||||||
|
|
||||||
|
|||||||
@@ -178,7 +178,7 @@ class Iqiyi:
|
|||||||
return 0
|
return 0
|
||||||
|
|
||||||
def post_redNo(self):
|
def post_redNo(self):
|
||||||
url = "https://api.ruirui.fun/iqiyi/postRedNo"
|
url = "https://api.limoruirui.com/iqiyi/postRedNo"
|
||||||
body = {
|
body = {
|
||||||
"RedNo": self.redNo,
|
"RedNo": self.redNo,
|
||||||
"last_num": self.last_num
|
"last_num": self.last_num
|
||||||
@@ -195,7 +195,7 @@ class Iqiyi:
|
|||||||
self.print_now("提交失败, 可能为池子服务器炸了, 请截图运行时间和日志反馈")
|
self.print_now("提交失败, 可能为池子服务器炸了, 请截图运行时间和日志反馈")
|
||||||
|
|
||||||
def get_redNo(self):
|
def get_redNo(self):
|
||||||
url = "https://api.ruirui.fun/iqiyi/getRedNo"
|
url = "https://api.limoruirui.com/iqiyi/getRedNo"
|
||||||
req = get(url)
|
req = get(url)
|
||||||
if req.status_code == 200:
|
if req.status_code == 200:
|
||||||
data = req.json()
|
data = req.json()
|
||||||
|
|||||||
Reference in New Issue
Block a user