5000 Auto YouTube Comments Using Selenium with Python on Localhost
๐๐ค๐ฉ๐:๐ฟ๐๐๐ฃ'๐ฉ ๐๐ค๐ฅ๐ฎ-๐ฅ๐๐จ๐ฉ๐ ๐๐ค๐๐ ๐๐๐๐๐ฃ ๐๐ฃ๐ ๐๐๐๐๐ฃ ๐๐ค๐ข๐ ๐พ๐๐๐ฃ๐๐๐จ ๐ผ๐ง๐ ๐๐๐๐ง๐.
https://www.youtube.com/watch?v=FVumnHy5Tzo&t=1s&ab_channel=HelloWorld
๐ฌ๐๐ฉ๐๐ ๐ช๐ฅ๐ฉ๐ค 3mins.46sec+ ๐ฉ๐๐๐ฃ ๐ง๐๐ข๐๐๐ฃ๐๐ฃ๐ code in the script
or after chrome opens using localhost
in extension on the other location using these
C:\Users\Hp\AppData\Local\Google\Chrome\Application
in my case chrome location(use start in:) is
cd C:\Users\Hp\AppData\Local\Google\Chrome\Application
next,
chrome.exe --remote-debugging-port=9222 --user-data-dir=""(in "enter your localhost path here")
Next, enter this command into the terminal, replacing "enter your localhost path here" with your localhost path:
For example, in my case it is:
chrome.exe --remote-debugging-port=9222 --user-data-dir="C:\Users\Hp\Desktop\Bots\Chromedriver\Localhost"
then new terminal in that folder and enter 5000.py
Then, open the command prompt in that folder and paste the following two lines one at a time and press enter. (The code below assumes that you have watched the video and have set up the correct Chrome and localhost path.)
cd C:\Users\Hp\AppData\Local\Google\Chrome\Application
chrome.exe --remote-debugging-port=9222 --user-data-dir="C:\Users\Hp\Desktop\Bots\Chromedriver\Localhost"
To do 5000+ auto comments, you must log in with 10+ gmail accounts and each gmail must contain 10 brand accounts
In lines 11 and 12 of the code, change the comments if you want to use something different.
In line 21, change the movie video URL to the required URL.
That's it! The URL will open in the previously opened localhost Chrome and 5000+ auto comments will be done automatically.
in cmd enter
pip install Random
and hit enter button
๐Note:-
๐if your selenium version is in latest version then the code never run
๐open cmd and enter pip uninstall selenium
And enter
pip install selenium==4.2.0
and hit enter
and
python -c "import selenium; print(selenium.version)"
Mobile Settings > Password & Accounts > Google > Choose to create an account at the bottom. When prompted, select "Myself," fill in the remaining details, and note that they won't ask for a phone number.
๐๐๐๐จ ๐๐ฃ๐๐ค๐ง๐ข๐๐ฉ๐๐ค๐ฃ ๐๐จ ๐ค๐ฃ๐ก๐ฎ ๐๐ค๐ง ๐๐๐ช๐๐๐ฉ๐๐ค๐ฃal ๐ฅ๐ช๐ง๐ฅ๐ค๐จ๐ ๐๐ฃ๐ ๐ฌ๐ ๐๐ง๐ ๐ฃ๐ค๐ฉ ๐ง๐๐จ๐ฅ๐ค๐ฃ๐จ๐๐๐ก๐ ๐๐ค๐ง ๐๐ฃ๐ฎ ๐ ๐๐ฃ๐ ๐ค๐ ๐๐ก๐ก๐๐๐๐ก ๐๐๐ฉ๐๐ซ๐๐ฉ๐ฎ ๐๐ค๐ฃ๐ ๐๐ฎ ๐ฉ๐๐๐จ ๐ฉ๐ค๐ค๐ก.