增加说明
This commit is contained in:
@@ -86,10 +86,11 @@ def get_auth_from_browser():
|
|||||||
save_auth(captured_headers, captured_cookies)
|
save_auth(captured_headers, captured_cookies)
|
||||||
return {"headers": captured_headers, "cookies": captured_cookies}
|
return {"headers": captured_headers, "cookies": captured_cookies}
|
||||||
|
|
||||||
# -------------------- 获取话题 -------------------- #
|
# -------------------- 获取话题 -------------------- #
|
||||||
def get_topics(headers, cookies):
|
def get_topics(headers, cookies):
|
||||||
payload = {
|
payload = {
|
||||||
"keyword": "", "keytype": 1, "state": -2, "psize": 7, "tag": 0, "page": 1,
|
"keyword": "", "keytype": 1, "state": -2, "psize": 7, # 因是只处理第一页,这个参数就是操作控制数量
|
||||||
|
"tag": 0, "page": 1,
|
||||||
"livescene": -1, "typeid": -1, "types": -1, "isOnShelf": -1,
|
"livescene": -1, "typeid": -1, "types": -1, "isOnShelf": -1,
|
||||||
"starttime": "", "endtime": "", "chanid": 0, "isHQOut": 0, "isGHHQOut": 0
|
"starttime": "", "endtime": "", "chanid": 0, "isHQOut": 0, "isGHHQOut": 0
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user