3 ms·
>Can you be more clear on this? I don't see where this is happening. There's a start_drive function that they call once in main and use that reference the entir
by gruez 5y ago
>Can you be more clear on this? I don't see where this is happening. There's a start_drive function that they call once in main and use that reference the entire time.
>https://github.com/SeanDaBlack/KelloggBot/blob/main/req.py#L https://github.com/SeanDaBlack/KelloggBot/blob/main/req.py#L...
the call to "start_driver" is inside the "while (i < 10000)" loop
- edmcnulty101 5y agoI mean wouldn't that allow 10,000 parallel operations? If you waited for each one to complete, then close each one, it would take forever.
- gruez 5y agoTheoretically it can be rewritten to do the requests in parallel, but currently it isn't.
- edmcnulty101 5y agoAh good point! Yeah. That is a definite issue then. I should link this thread on the code's github. The author is getting a free code review. haha.
- exdsq 5y agoHahaha I'll link this entire thread to their github
- exdsq 5y agoIf it was you don't want 10k non-headless Chrome browsers on your computer, there isn't enough RAM in the world