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

14 lines
258 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
2024-06-05 09:21:00 +08:00
with ClientApp().app_context():
collect(2024, 4)