mirror of
https://gitlab.com/jeancf/twoot.git
synced 2024-12-18 00:00:17 +00:00
Compare commits
4 Commits
cf4d1d67c7
...
1e3418144e
Author | SHA1 | Date | |
---|---|---|---|
|
1e3418144e | ||
|
bb8b5cc3ce | ||
|
d60b3a3d8d | ||
|
f0abaa0d9b |
|
@ -11,6 +11,7 @@ It is simple to set-up on a local machine, configurable and feature-rich.
|
|||
Reddit domains with alternatives (e.g. [Nitter](https://github.com/zedeus/nitter/wiki/Instances),
|
||||
[Invidious](https://redirect.invidious.io/) and [teddit](https://teddit.net/) respectively)
|
||||
* A footer line can be specified in the config file that gets added to all toots (with e.g. tags)
|
||||
* Added option to not add reference to "Original tweet" at the bottom of toots
|
||||
* A password must be provided with `-p` for the first run only. After that it is no longer required.
|
||||
|
||||
> Previous updates can be found in CHANGELOG.
|
||||
|
@ -32,9 +33,8 @@ It is simple to set-up on a local machine, configurable and feature-rich.
|
|||
## Usage
|
||||
|
||||
twoot.py [-h] [-f <.toml config file>] [-t <twitter account>] [-i <mastodon instance>]
|
||||
[-m <mastodon account>] [-p <mastodon password>] [-r] [-s] [-l] [-u] [-v]
|
||||
[-a <max age in days)>] [-d <min delay (in mins>] [-c <max # of toots to post>]
|
||||
|
||||
[-m <mastodon account>] [-p <mastodon password>] [-r] [-s] [-l] [-u] [-v] [-o]
|
||||
[-a <max age in days)>] [-d <min delay (in mins>] [-c <max # of toots to post>]
|
||||
## Arguments
|
||||
|
||||
Assuming that the Twitter handle is @SuperDuperBot and the Mastodon account
|
||||
|
@ -47,7 +47,8 @@ is sd@example.com on instance masto.space:
|
|||
| -i | Mastodon instance domain name | `masto.space` | If no config file |
|
||||
| -m | Mastodon username | `sd@example.com` | If no config file |
|
||||
| -p | Mastodon password | `my_Sup3r-S4f3*pw` | Once at first run |
|
||||
| -v | upload videos to Mastodon | *N/A* | No |
|
||||
| -v | Upload videos to Mastodon | *N/A* | No |
|
||||
| -o | Do not add "Original tweet" line | *N/A* | No |
|
||||
| -r | Post reply-to tweets (ignored by default) | *N/A* | No |
|
||||
| -s | Skip retweets (posted by default) | *N/A* | No |
|
||||
| -l | Remove link redirections | *N/A* | No |
|
||||
|
|
4
twoot.py
4
twoot.py
|
@ -47,9 +47,9 @@ HTTPS_REQ_TIMEOUT = 10
|
|||
|
||||
NITTER_URLS = [
|
||||
'https://nitter.lacontrevoie.fr',
|
||||
'https://nitter.pussthecat.org',
|
||||
'https://nitter.privacydev.net',
|
||||
'https://nitter.fdn.fr',
|
||||
'https://nitter.spaceint.fr',
|
||||
'https://nitter.privacy.com.de',
|
||||
'https://twitter.beparanoid.de',
|
||||
'https://n.l5.ca',
|
||||
'https://nitter.bus-hit.me',
|
||||
|
|
Loading…
Reference in New Issue
Block a user