- Регистрация
- 10.03.2022
- Сообщения
- 201
- Благодарностей
- 13
- Баллы
- 18
I have a script that downloads images and videos, but before downloading them, it reads an article of mine and downloads based on what each paragraph says.
I’d like an idea of how I can modify it so that instead of downloading one by one, it downloads multiple at once.
I thought about running multiple bots at the same time, but how can I configure it so that when a bot downloads an image or video, it assigns a unique numbering to the file (1, 2, 3, and so on) without duplication or breaking the sequence?
If multiple bots are running simultaneously, how do I prevent them from assigning the same number to different files?
Also, before reaching this download phase, the script performs functions like opening a browser. How can I ensure that only one bot executes these initial functions while the others only handle downloading?
Can anyone help me? Thanks!
I’d like an idea of how I can modify it so that instead of downloading one by one, it downloads multiple at once.
I thought about running multiple bots at the same time, but how can I configure it so that when a bot downloads an image or video, it assigns a unique numbering to the file (1, 2, 3, and so on) without duplication or breaking the sequence?
If multiple bots are running simultaneously, how do I prevent them from assigning the same number to different files?
Also, before reaching this download phase, the script performs functions like opening a browser. How can I ensure that only one bot executes these initial functions while the others only handle downloading?
Can anyone help me? Thanks!