mirror of
https://gitlab.com/jeancf/twoot.git
synced 2025-01-07 01:47:06 +00:00
Compare commits
No commits in common. "1e3418144ec973d38295a3ae83120a5ee123e5e3" and "cf4d1d67c7d548dfd1fa4527b7f13006bcf16518" have entirely different histories.
1e3418144e
...
cf4d1d67c7
|
@ -11,7 +11,6 @@ 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.
|
||||
|
@ -33,8 +32,9 @@ 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] [-o]
|
||||
[-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]
|
||||
[-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,8 +47,7 @@ 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 |
|
||||
| -o | Do not add "Original tweet" line | *N/A* | No |
|
||||
| -v | upload videos to Mastodon | *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.privacydev.net',
|
||||
'https://nitter.pussthecat.org',
|
||||
'https://nitter.fdn.fr',
|
||||
'https://nitter.privacy.com.de',
|
||||
'https://nitter.spaceint.fr',
|
||||
'https://twitter.beparanoid.de',
|
||||
'https://n.l5.ca',
|
||||
'https://nitter.bus-hit.me',
|
||||
|
|
Loading…
Reference in New Issue
Block a user