File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424ticket_str_list : List [str ] = []
2525sales_dates = []
2626project_id = 0
27+ is_hot_project = False
2728
2829sales_flag_number_map = {
2930 1 : "不可售" ,
@@ -55,6 +56,7 @@ def on_submit_ticket_id(num):
5556 global ticket_str_list
5657 global sales_dates
5758 global project_id
59+ global is_hot_project
5860 try :
5961 buyer_value = []
6062 addr_value = []
@@ -591,7 +593,7 @@ def input_phone(_phone):
591593 def on_submit_data (_date ):
592594 global ticket_str_list
593595 global ticket_value
594-
596+ global is_hot_project
595597 try :
596598 ticket_that_day = util .main_request .get (
597599 url = f"https://show.bilibili.com/api/ticket/project/infoByDate?id={ project_id } &date={ _date } "
@@ -609,6 +611,7 @@ def on_submit_data(_date):
609611 ticket ["price" ] = ticket_price
610612 ticket ["screen" ] = screen_name
611613 ticket ["screen_id" ] = screen_id
614+ ticket ["is_hot_project" ] = is_hot_project
612615 ticket_can_buy = (
613616 "可购买" if ticket ["clickable" ] else "不可购买"
614617 )
You can’t perform that action at this time.
0 commit comments