A Python script automating Twitter login , so that you directly get the trending news without any hesitation. An auto login feature is further add for ease of user.
- Selenium
- Chromedriver
Selenium is the key element in automation of web browsers, to install use:
1.For MacOS use command - pip3 install selenium
2.For Windows use command - pip install selenium
Or just visit the Selenium official website at : https://www.selenium.dev
Refer to the official github of Chromedriver for installation instructions:https://github.com/SeleniumHQ/selenium/wiki/ChromeDriver
- Place the twitter.py and data.txt in the same folder
- Run the python script
- Enter the username and password if using the script for the first time.