Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MakiNaruto/Automatic_ticket_purchase
/ functions
Functions
28 in github.com/MakiNaruto/Automatic_ticket_purchase
⨍
Functions
28
◇
Types & classes
1
↓ 20 callers
Function
n
(e, t)
signcode.js:6
↓ 16 callers
Function
a
(e, r, o, i, a, s, u)
signcode.js:32
↓ 16 callers
Function
i
(e, r, o, i, a, s, u)
signcode.js:26
↓ 16 callers
Function
o
(e, r, o, i, a, s, u)
signcode.js:20
↓ 16 callers
Function
r
(e, r, o, i, a, s, u)
signcode.js:14
↓ 4 callers
Function
s
(e)
signcode.js:38
↓ 4 callers
Function
t
(e, t)
signcode.js:2
↓ 3 callers
Function
get_sign_code
返回请求选座信息接口必备的sign信息 :return:
tools.py:147
↓ 2 callers
Function
create_seat_dict
构建座位层级信息
tools.py:354
↓ 2 callers
Function
format_param
(context)
tools.py:122
↓ 1 callers
Function
check_login_status
检测是否登录成功
tools.py:41
↓ 1 callers
Method
run
(self)
Automatic_ticket_purchase.py:227
↓ 1 callers
Method
step1_get_order_info
获取点击购买所必须的参数信息 :param item_id: 商品id :param commodity_param: 获取商品购买信息必须的参数 :param ticket_price:
Automatic_ticket_purchase.py:31
↓ 1 callers
Method
step2_click_buy_now
点击立即购买 :param ex_params: 点击立即购买按钮所发送请求的必须参数 :param sku_info: 购买指定商品信息及数量信息 :return:
Automatic_ticket_purchase.py:71
↓ 1 callers
Method
step2_click_confirm_select_seats
选座购买,点击确认选座
Automatic_ticket_purchase.py:114
↓ 1 callers
Method
step3_submit_order
提交订单所需参数信息 :param submit_order_info: 最终确认订单所需的所有信息。 :param viewer: 指定观演人进行购票 :param seat_info: 座位id :retu
Automatic_ticket_purchase.py:161
Method
__init__
(self)
Automatic_ticket_purchase.py:19
Function
account_login
登录大麦网 :param login_id: :param login_password: :param login_type: 选择哪种方式进行登录 :return:
tools.py:72
Function
calcaulate
(e)
signcode.js:1
Function
format_valuable_seatid
格式化 seatid 相关信息
tools.py:368
Function
get_api_param
获取请求大麦API所必须的一些参数, 可能大麦网js代码更新后需要修改此函数内的代码以重新获得参数信息
tools.py:119
Function
get_seat_dynamic_info
获取 standId, 用于获取所有座位信息
tools.py:200
Function
get_select_seat_api
得到请求所有座位信息的api地址
tools.py:252
Function
get_select_seat_params
获取座位信息的必备参数
tools.py:164
Function
get_valuable_seat_id
获取可用的座位信息
tools.py:302
Function
load_cookies
读取保存的cookies
tools.py:30
Function
pick_seat
简单实现选取座位信息
tools.py:411
Function
save_cookies
保存cookies
tools.py:24