mirror of
https://gitlab.com/jeancf/twoot.git
synced 2025-01-18 15:27:07 +00:00
Updated README
Improved decimal format in log
This commit is contained in:
parent
dc6c16ae16
commit
3c7693fe66
14
README.md
14
README.md
|
@ -3,11 +3,10 @@
|
|||
Twoot is a python script that extracts tweets from a twitter feed and
|
||||
reposts them as toots on a Mastodon account.
|
||||
|
||||
I started twoot when [tootbot](https://github.com/cquest/tootbot)
|
||||
stopped working. Tootbot relies on rss feeds from https://twitrss.me
|
||||
that broke when Twitter refreshed their web UI in July 2019.
|
||||
|
||||
Instead twoot is self contained and handles all the processing.
|
||||
**UPDATE 19 DEC 2020** VERSION 2.0 Twitter's *no-javascript* version
|
||||
has been retired. Twoot has been rewritten to get content from
|
||||
[nitter.net](https://nitter.net) which is a javascript-free mirror of
|
||||
twitter. As a bonus (or a curse?) twoot now also supports animated GIFs.
|
||||
|
||||
**UPDATE 05 APR 2020** VERSION 1.0. Twoot can now optionally download
|
||||
videos from Twitter and upload them on Mastodon.
|
||||
|
@ -91,3 +90,8 @@ ago:
|
|||
```
|
||||
1-59/15 * * * * /path/to/twoot.py -t SuperDuperBot -i botsin.space -m superduperbot -p my_Sup3r-S4f3*pw -a 5 -d 15
|
||||
```
|
||||
|
||||
# Background
|
||||
I started twoot when [tootbot](https://github.com/cquest/tootbot)
|
||||
stopped working. Tootbot relies on rss feeds from https://twitrss.me
|
||||
that broke when Twitter refreshed their web UI in July 2019.
|
3
twoot.py
3
twoot.py
|
@ -546,8 +546,9 @@ def main(argv):
|
|||
except FileNotFoundError: # The directory does not exist
|
||||
pass
|
||||
|
||||
logging.info('Run time : ' + str(time.time() - start_time) + ' seconds')
|
||||
logging.info('Run time : %2.1f seconds', str(time.time() - start_time))
|
||||
logging.info('_____________________________________________________________')
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main(sys.argv)
|
||||
|
|
Loading…
Reference in New Issue
Block a user