Skip to content

argv1/twitterbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Twitter Bot

======================

Purpose

Simple selenium prove of concept twitter bot to follow users by selenium webdriver. Please be aware this script does not use tweepy.

Usage

run pip to ensure all requirements are fulfilled

pip3 install -r requirements.txt

You also need ChromeDriver, which you can download here and store the execuable in the script folder.

If you prefer Firefox, download geckodriver here. and adjust the following two line in main.py

browser = base_path / 'geckodriver.exe'
...
self.driver = webdriver.Firefox(executable_path=browser)

now you can run the script:

main.py

Future

Since I move to OOP, I will probably add some more features like mass liking by hashtag. Feel free to improve and fork this small script.

License

This code is licensed under the GNU General Public License v3.0. For more details, please take a look at the LICENSE file.