yashu1wwww / Google-Maps-auto-photo-upload

Google Maps auto photo upload using selenium with python in localhost

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Google-Maps-auto-photo-upload-

Google Maps auto photo upload using selenium with python on localhost

If it comfort to use in undetected_chromedriver script then fork it.

I searched on Google but couldn't find it, so I created it. That's it.

https://www.youtube.com/watch?v=FVumnHy5Tzo&t=1s&ab_channel=HelloWorld

Watch up to 3 minutes and 46 seconds, and then remain in the remaining part in the code..

in map.py 22th line with which school,place etc..

you want auto rating replace it and in 33 line replace with image photo path...

If it comfort to use in undetected_chromedriver script then fork it...

First, open Chrome file location and In my case, the Chrome location(use start in: path) is

C:\Users\Hp\AppData\Local\Google\Chrome\Application

Next, in the command prompt, navigate to the Chrome directory using the command cd C:\Users\Hp\AppData\Local\Google\Chrome\Application

Then,

use the command

chrome.exe --remote-debugging-port=8080 --user-data-dir="enter your localhost path here"

to open Chrome with remote debugging enabled. In my case, the command was

chrome.exe --remote-debugging-port=8080 --user-data-dir="C:\Users\Hp\Desktop\Bots\Chromedriver\Localhost"

then new terminal in that folder and enter upload.py (letter l not one)

After opening Chrome, paste the following two lines of code from the script into the command prompt and hit enter. This will open the google map URL in Chrome, automatically...

That's it! The URL will open in the previously opened localhost Chrome and do auto photo upload...

Finally, in the command prompt, enter "pip install Random" and hit enter to install the necessary library.

๐Ÿ‘‰Python Install Setup=https://youtu.be/4bUOrMj88Pc

๐Ÿ‘‰Note:-

๐Ÿ‘‰If you have the latest version of Selenium, the code may not run.

๐Ÿ‘‰open cmd and

enter

pip uninstall selenium

And enter

pip install selenium==4.2.1 or pip install selenium==4.2.0

and hit enter

and

python -c "import selenium; print(selenium.version)"

๐™๐™๐™ž๐™จ ๐™ž๐™ฃ๐™›๐™ค๐™ง๐™ข๐™–๐™ฉ๐™ž๐™ค๐™ฃ ๐™ž๐™จ ๐™ค๐™ฃ๐™ก๐™ฎ ๐™›๐™ค๐™ง ๐™š๐™™๐™ช๐™˜๐™–๐™ฉ๐™ž๐™ค๐™ฃal ๐™ฅ๐™ช๐™ง๐™ฅ๐™ค๐™จ๐™š ๐™–๐™ฃ๐™™ ๐™ฌ๐™š ๐™–๐™ง๐™š ๐™ฃ๐™ค๐™ฉ ๐™ง๐™š๐™จ๐™ฅ๐™ค๐™ฃ๐™จ๐™ž๐™—๐™ก๐™š ๐™›๐™ค๐™ง ๐™–๐™ฃ๐™ฎ ๐™ ๐™ž๐™ฃ๐™™ ๐™ค๐™› ๐™ž๐™ก๐™ก๐™š๐™œ๐™–๐™ก ๐™–๐™˜๐™ฉ๐™ž๐™ซ๐™ž๐™ฉ๐™ฎ ๐™™๐™ค๐™ฃ๐™š ๐™—๐™ฎ ๐™ฉ๐™๐™ž๐™จ ๐™ฉ๐™ค๐™ค๐™ก.

About

Google Maps auto photo upload using selenium with python in localhost

License:MIT License


Languages

Language:Python 100.0%