init
This commit is contained in:
13
web/tasks/once/collect.py
Normal file
13
web/tasks/once/collect.py
Normal file
@@ -0,0 +1,13 @@
|
||||
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()
|
Reference in New Issue
Block a user