Python || Selenium Browser Automation #1-Q&A: how to create and run multiple chrome profiles

preview_player
Показать описание
Hi guys, in this video here I'm going to show you guys how to create multiple chrome with selenium in python, this is helps you run multiple chrome profiles at once and speed up the progress such as web-scraping that can scrape more data.

If you guys find this helpful please put a like and subscribe for further tutorials. Thank you so much.
Рекомендации по теме
Комментарии
Автор

Wow... I'ts works and so simple ... Thank u brother

arsegacom
Автор

Thank you it's really work.
Please make a video on how to change ip address in multiple chromedrivers.

Rounakgehlot
Автор

Where is the new part you talked about? Your explaining is good and you seem to have a lot of knowledge so we need more! Thanks for this one, waiting for the follow up vid :)

polandski
Автор

hello. Where is the new part you talked about? Your explaining is good and you seem to have a lot of knowledge so we need more!

wfhlglq
Автор

Great video. 👍 No one approached the solution of the problem so structurally, all threads use one function, or each thread uses its own function. The only thing that let you down was the background noise in the sound 😅. I would love to see a comparison of Threading versus Multiprocessing, what and when is better to use, with measurements of execution speed. 🦾🦾 Idea for next video.

justforfun-ycxz
Автор

is this still possible, im trying with code and i can't run more than 1 profile or that's because im using custom profiles?

damaxin_
Автор

Please make same for Instagram and Facebook.

jw
Автор

Hello sir i want to build like if i operate main profile then it get automatically updated in another multiple profiles how it is possible please suggest me

rauni.
Автор

Please how you can open the profiles in order in the screen

AbdoIlyassi
Автор

hi quân cảm ơn bạn về video hướng dẫn mình đã thử theo cách của bạn trên video mình đã mở được tạo và chạy đc multiple chrome profiles tuy nhiênkhi mà check link chrome://version/ thì có vẻ như là chỗ Profile Path link nó lại là Data\Profile 1\Default" và Data\Profile 2\Default" chứ k phải là Data\Profile 1" và Data\Profile 2" như mong muốn không biết quân có bị như trên không nhỉ mong quân sớm reply

tienatnguyen
Автор

Hello, very nice video ! I have a question, how you open the profile once the program is finished ? manually

sachacuenot
Автор

Can I use custom profiles that are already logged in?

adityasher
Автор

Hi. I do the same with you, but it not open 2 browser. It's just open 1 browser and have 2 tab inside it, the first tab can get the profile and the second tab can't get the profile. Do you know why it just open 1 browser

krlzfuo
Автор

có phải hầu hết các tool undetectec mà giới mmo hiện làm là theo cách này không bạn

meditativemind
Автор

Hi Harry. Do you have the source code please?

AbcDef-vhmq
Автор

Harry I'm currently working on something and I really wanted to ask if you could come up with technology that could help me. Do you have any professional social networks?

Luna-lrnh
Автор

Tại sao phải có 2 hàm worker và start thế bạn? Trong khi 2 hàm đó giống nhau?

quangnguyenduy
Автор

Hi its creating 2 gb folder for each profile with a default profile inside it, is there any way to reuse the same folder with different profiles?

ChromeData/Profile1
ChromeData/Profile2 etc

( I am using undetected chromedriver)

adityasher
Автор

I have 2 path of my profiles:

- First: Data\Profile 1
- Second: Data\Profile 2

My config file:
AMOUNT_THREAD = 2

profiles = [
"Profile 75",
"Profile 76",
]

local = {
"executablePath": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
"userDataDir": Data\\",
}


My main file:
from import Service
from selenium import webdriver
import threading
import time
import config as cf

def start(profile):
options = webdriver.ChromeOptions()
profile_path =


print(f"Thread {profile} profile path: {profile_path}")

time.sleep(10)

service =
driver = webdriver.Chrome(service=service, options=options)

def main():
profiles = cf.profiles

for profile in profiles:
thread = threading.Thread(target=start, args=[profile])
thread.start()

if __name__ == '__main__':
main()




When I run the main file, the Who's using Chrome? is open instead of the 2 profile browser.

vohongphuong
Автор

Hello can I maybe contact you on discord!??

opticfeij