How is it possible to run multiple threads, with diff proxys #2860
Labels
duplicate
The answer/solution already exists somewhere
question
Someone is looking for answers
UC Mode / CDP Mode
Undetected Chromedriver Mode / CDP Mode
def access_site(cmd):
os.system(cmd)
urls = [
'https://example.com',
'https://example.com',
['https://example.com'
]
processes = []
for url in urls:
cmd = f'pytest w.py --proxy=USER_NAME:PASSWORD@pr.oxylabs.io:7777 --gui --uc --no-summary -q'
process = thread.Thread(target=run_test, args=(cmd, ))
processes.append(process)
process.start()
for i in processes:
i.join()
this is my code
The text was updated successfully, but these errors were encountered: