You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
find_elements_by_css_selecto method has been deprecated in recent versions of Selenium. Instead, you should use the find_elements() method with the appropriate By class.
But even then, you cannot scrape because now you have to log in. And whenever you log in, twitter finds a way to detect that the requests are automated and blocks the requests.
~/Downloads/roasting wkw/wallet-net-worth/wallet-net-worth/scrapx main !2 ?2 14s
❯ python3 main.py
^[^[Traceback (most recent call last):
File "/Users/adefebrian/Downloads/roasting wkw/wallet-net-worth/wallet-net-worth/scrapx/main.py", line 23, in
driver.find_element_by_css_selector(".u-size2of3").click()
AttributeError: 'WebDriver' object has no attribute 'find_element_by_css_selector'
~/Downloads/roasting wkw/wallet-net-worth/wallet-net-worth/scrapx main !2 ?2 60s
❯
The text was updated successfully, but these errors were encountered: