Skip to content

Commit f4c3a92

Browse files
committed
fix taiga crawler comments
1 parent 8497df0 commit f4c3a92

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

main.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,11 @@
6666

6767

6868
async def main():
69-
# logger.info("Starting Taiga crawler...")
70-
# await a_moins_b(url, 0, -1, headers)
71-
# collection_tasks = [col.get('function')(url, col, headers) for col in collections]
72-
# await asyncio.gather(*collection_tasks)
73-
# print("Taiga crawler ended successful !!!")
69+
logger.info("Starting Taiga crawler...")
70+
await a_moins_b(url, 0, -1, headers)
71+
collection_tasks = [col.get('function')(url, col, headers) for col in collections]
72+
await asyncio.gather(*collection_tasks)
73+
print("Taiga crawler ended successful !!!")
7474

7575
print("Starting import_ind...")
7676
start_time = datetime.now()

0 commit comments

Comments
 (0)