from collectors import Collector def collect(year=2023, month=11): """ 整理发布价格 """ collector = Collector(year, month) collector.run() if __name__ == '__main__': from core.factory import ClientApp with ClientApp().app_context(): collect(2024, 4)