Files
material-api/web/tasks/once/collect.py

14 lines
249 B
Python
Raw Normal View History

2024-05-29 10:21:31 +08:00
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()