Skip to content

Examples

gilfoyle97 edited this page Feb 8, 2022 · 6 revisions
Command Description
python twitterbot2.py -t Start the bot liking and retweeting tweets in its timeline and user's timeline. It also starts a web server on IP:5000.
python twitterbot2.py -k searchterm Start the bot liking and retweeting tweets grabbed from term searching (searchterm) and user's timeline. It also starts a web server on IP:5000.
python twitterbot2.py -t -nu Start the bot liking and retweeting tweets in its timeline, but not the user's timeline. It also starts a web server on IP:5000.
python twitterbot2.py -nu -k searchterm Start the bot liking and retweeting tweets grabbed from term searching (searchterm), but not the user's timeline. It also starts a web server on IP:5000.
python twitterbot2.py -v Print the version.
python twitterbot2.py -h Print help.
python twitterbot2.py -s USER It shows the statistics for the user USER (only user in the database, so the bots used).
python twitterbot2.py -oj USER It writes the statistics using JSON format for the user USER (ALL for all the users) in twitterbot2-output/USER.json
python twitterbot2.py -oc USER It writes the statistics using CSV format for the user USER (ALL for all the users) in twitterbot2-output/USER.csv
python twitterbot2.py -oh USER It writes the statistics using HTML format for the user USER (ALL for all the users) in twitterbot2-output/USER.html
Clone this wiki locally