diff --git a/CHANGELOG.md b/CHANGELOG.md index df19a2e..0f30d31 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +**12 JUL 2023** VERSION 4.1 + +**Nitter has recently added a change that highlights tweets that are part of a thread. Twoot cannot handle this modification yet therefore TWEETS THAT ARE PART OF A THREAD ARE CURRENTLY IGNORED.** A warning message is added to the log file instead. + +**A new dependency to python module `pytz` has been added**. Please run `pip install pytz` +in your environment to install it. + +* Added option to display timestamp of the original tweet in toot +* Tweaked list of nitter instances + **28 JUN 2023** VERSION 4.0 * Added option to update avatar and banner pictures on profile if changed on Twitter diff --git a/README.md b/README.md index a107969..243fb7d 100644 --- a/README.md +++ b/README.md @@ -3,18 +3,19 @@ Twoot is a python script that mirrors tweets from a twitter account to a Mastodon account. It is simple to set-up on a local machine, configurable and feature-rich. -**12 JUL 2023** VERSION 4.1 +**14 JUL 2023** VERSION 4.2 -**Nitter has recently added a change that highlights tweets that are part of a thread. Twoot -cannot handle this modification yet therefore TWEETS THAT ARE PART OF A THREAD ARE CURRENTLY -IGNORED.** A warning message is added to the log file instead. -An update is being worked on. Stay tuned. +Twoot can now handle threads. All tweets can again be uploaded on Mastodon. Tweets in a threads are +displayed in reverse chronological order in the main timeline (first tweet on top) to improve readability. -**A new dependency to python module `pytz` has been added**. Please run `pip install pytz` -in your environment to install it. +*When several toots are posted in the same run of toot it is possible that these toots do not appear in +chronological order on the timeline. If it is the case, try setting `upload_pause` to 3-5 seconds in +your config file to slow down the rate at which toots are uploaded.* + +A list of nitter instances to use can now be specified in the config file +e.g. `nitter_instances = ["nitter.nl", "nitter.fdn.fr"]`. +If none is specified, a built-in list of 2-3 known good instances is used as before. -* Added option to display timestamp of the original tweet in toot -* Tweaked list of nitter instances > Previous updates can be found in CHANGELOG. @@ -136,7 +137,7 @@ No limitation is applied to the number of toots uploaded if `-c` is not specifie Make sure python3 is installed. -Twoot depends on `beautifulsoup4` and `Mastodon.py` python modules. Additionally, if you are using +Twoot depends on `beautifulsoup4`, `Mastodon.py` and `pytz` python modules. Additionally, if you are using a version of python < 3.11 you also need to install the `tomli` module. **Only If you plan to download videos** with the `-v` switch, are the additional dependencies required: @@ -145,7 +146,7 @@ a version of python < 3.11 you also need to install the `tomli` module. * [ffmpeg](https://ffmpeg.org/download.html) (installed with the package manager of your distribution) ```sh -pip install beautifulsoup4 Mastodon.py youtube-dl2 +pip install beautifulsoup4 Mastodon.py youtube-dl2 pytz ``` In your user folder, execute `git clone https://gitlab.com/jeancf/twoot.git`