22 lines
463 B
Python
22 lines
463 B
Python
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():
|
|
for i in range(2, 12):
|
|
collect(2022, i + 1)
|
|
for i in range(1, 12):
|
|
collect(2023, i + 1)
|
|
for i in range(0, 5):
|
|
collect(2024, i + 1)
|