pythontester192 / Instagram-Bot-Scrape-DM-Users

This Python Bot Scrape Instagram User Followers & Send DM to the Scraped Users with Account Switcher Feature.
134 stars 19 forks source link

Not logging in #5

Open zgtibu opened 1 year ago

zgtibu commented 1 year ago

File "C:\Users\91989\Downloads\Instagram-Bot-Scrape-DM-Users-main\Instagram-Bot-Scrape-DM-Users-main\scrape.py", line 145, in scrape() File "C:\Users\91989\Downloads\Instagram-Bot-Scrape-DM-Users-main\Instagram-Bot-Scrape-DM-Users-main\scrape.py", line 49, in scrape user_element = WebDriverWait(bot, ELEMENTS_TIMEOUT).until( File "C:\Users\91989\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\selenium\webdriver\support\wait.py", line 80, in until raise TimeoutException(message, screen, stacktrace) selenium.common.exceptions.TimeoutException: Message:

Sulieman-AbuAisha commented 1 year ago

change the xpath of username and the password and the Bottum

zgtibu commented 1 year ago

Can you please explain?

Sulieman-AbuAisha commented 1 year ago

IMG_20221203_163857.jpg Try to change the green character like this

zgtibu commented 1 year ago

I chaned code but getting this error in login page

DevTools listening on ws://127.0.0.1:51198/devtools/browser/afaae8f3-55b4-4f66-b553-272555a9d485 Logging in... Traceback (most recent call last): File "C:\Users\91989\Downloads\Instagram-Bot-Scrape-DM-Users-main\Instagram-Bot-Scrape-DM-Users-main\scrape.py", line 145, in scrape() File "C:\Users\91989\Downloads\Instagram-Bot-Scrape-DM-Users-main\Instagram-Bot-Scrape-DM-Users-main\scrape.py", line 49, in scrape user_element = WebDriverWait(bot, ELEMENTS_TIMEOUT).until( File "C:\Users\91989\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\selenium\webdriver\support\wait.py", line 80, in until raise TimeoutException(message, screen, stacktrace) selenium.common.exceptions.TimeoutException: Message:

keegieO commented 1 year ago

same

pythontester192 commented 1 year ago

Everything Fixed Now! Try Again. But Before that make sure to upgrade selenium to the lastet version: pip install selenium --upgrade