|
|
|
@ -30,6 +30,9 @@ def show_main_process(): |
|
|
|
# 获取排片数据 |
|
|
|
# 获取排片数据 |
|
|
|
_show = next((s for s in result.split('------') if s.startswith('\n影厅别名,影厅id')), '') |
|
|
|
_show = next((s for s in result.split('------') if s.startswith('\n影厅别名,影厅id')), '') |
|
|
|
_show = _show.strip() |
|
|
|
_show = _show.strip() |
|
|
|
|
|
|
|
if _show == '': |
|
|
|
|
|
|
|
_show = next((s for s in result.split('------') if s.startswith('\n```csv\n影厅别名,')), '') |
|
|
|
|
|
|
|
_show = _show.replace('```', '').replace('csv', '').strip() |
|
|
|
print('_show:', _show) |
|
|
|
print('_show:', _show) |
|
|
|
# 获取销售额 |
|
|
|
# 获取销售额 |
|
|
|
_sales = next((s for s in result.split('\n') if re.search('预估销售数据', s)), '') |
|
|
|
_sales = next((s for s in result.split('\n') if re.search('预估销售数据', s)), '') |
|
|
|
|