Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant login into the account #179

Open
ZainForbmaxAI opened this issue Dec 28, 2023 · 1 comment
Open

Cant login into the account #179

ZainForbmaxAI opened this issue Dec 28, 2023 · 1 comment

Comments

@ZainForbmaxAI
Copy link

The scraper runs but could not get past the login page
issue

@ratobiajin
Copy link

Me too. And when manually logging in, the script does not resume as it has already crashed. And it shows this error:
` File "C:\Users\User\AppData\Roaming\Python\Python311\site-packages\Scweet\scweet.py", line 116, in scrape
keep_scroling(driver, data, writer, tweet_ids, scrolling, tweet_parsed, limit, scroll, last_position)
File "C:\Users\User\AppData\Roaming\Python\Python311\site-packages\Scweet\utils.py", line 275, in keep_scroling
page_cards = driver.find_element("xpath",'//article[@data-testid="tweet"]') # changed div by article
File "C:\Users\User\AppData\Roaming\Python\Python311\site-packages\selenium\webdriver\remote\webdriver.py", line 741, in find_element
return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"]
File "C:\Users\User\AppData\Roaming\Python\Python311\site-packages\selenium\webdriver\remote\webdriver.py", line 347, in execute
self.error_handler.check_response(response)
File "C:\Users\User\AppData\Roaming\Python\Python311\site-packages\selenium\webdriver\remote\errorhandler.py", line 229, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"xpath","selector":"//article[@data-testid="tweet"]"}
(Session info: chrome=124.0.6367.60); For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
Stacktrace:
GetHandleVerifier [0x00007FF7C2D6F922+3045234]
(No symbol) [0x00007FF7C2A13652]
(No symbol) [0x00007FF7C28D7564]
(No symbol) [0x00007FF7C2925F9D]
(No symbol) [0x00007FF7C292606C]
(No symbol) [0x00007FF7C296BDD7]
(No symbol) [0x00007FF7C2949DEF]
(No symbol) [0x00007FF7C29691C4]
(No symbol) [0x00007FF7C2949B53]
(No symbol) [0x00007FF7C291813C]
(No symbol) [0x00007FF7C2918D71]
GetHandleVerifier [0x00007FF7C2D9E89D+3237613]
GetHandleVerifier [0x00007FF7C2DE0BA7+3508727]
GetHandleVerifier [0x00007FF7C2DD976F+3478975]
GetHandleVerifier [0x00007FF7C2B4F1C6+815126]
(No symbol) [0x00007FF7C2A1ED0F]
(No symbol) [0x00007FF7C2A19854]
(No symbol) [0x00007FF7C2A199E2]
(No symbol) [0x00007FF7C2A0A574]
BaseThreadInitThunk [0x00007FF83A8A257D+29]
RtlUserThreadStart [0x00007FF83CB4AA58+40]

`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants