mirror of
https://gitlab.com/jeancf/twoot.git
synced 2025-02-27 18:38:42 +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
|
Twoot is a python script that extracts tweets from a twitter feed and
|
||||||
reposts them as toots on a Mastodon account.
|
reposts them as toots on a Mastodon account.
|
||||||
|
|
||||||
I started twoot when [tootbot](https://github.com/cquest/tootbot)
|
**UPDATE 19 DEC 2020** VERSION 2.0 Twitter's *no-javascript* version
|
||||||
stopped working. Tootbot relies on rss feeds from https://twitrss.me
|
has been retired. Twoot has been rewritten to get content from
|
||||||
that broke when Twitter refreshed their web UI in July 2019.
|
[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.
|
||||||
Instead twoot is self contained and handles all the processing.
|
|
||||||
|
|
||||||
**UPDATE 05 APR 2020** VERSION 1.0. Twoot can now optionally download
|
**UPDATE 05 APR 2020** VERSION 1.0. Twoot can now optionally download
|
||||||
videos from Twitter and upload them on Mastodon.
|
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
|
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
|
except FileNotFoundError: # The directory does not exist
|
||||||
pass
|
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('_____________________________________________________________')
|
logging.info('_____________________________________________________________')
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
main(sys.argv)
|
main(sys.argv)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user