twitter-scraper-selenium
twitter-scraper-selenium copied to clipboard
AttributeError: 'Keyword' object has no attribute '_Keyword__driver' while trying to search
When I execute the code example in readme file it gives the attribute error mentioned in title.
code: from twitter_scraper_selenium import scrap_keyword #scrap 10 posts by searching keyword "india" from date 30th August till date 31st August india = scrap_keyword(keyword="india", browser="firefox", tweets_count=10,output_format="json" ,until="2021-08-31", since="2021-08-30") print(india)
@shaikhsajid1111 I tried to run the code again and it still gives me the same error, I don't know whether there is anything I should change in my code.
It was running fine even before the changes, checked with Windows 7, 10 and Mac OS as well. Can you please check if your project name is not conflicting with this library's keywords or something?, If that doesn't works then can you please share your environment like OS, Python version?