This python script can convert tweet thread into markdown format.
- Get access to the Twitter API. Edit config.py to set consumer_key, consumer_secret, access_token_key, access_token_secret.
- Prepare Python 3.x and install requests_oauthlib and tzlocal libraries.
If you are using Ubuntu or Debian, executesudo apt install python3-requests-oauthlib python3-tzlocal - Pass the LAST tweet URL in your thread to this script.
./tweetthread2md.py THE_LAST_TWEET_URL_OF_A_THREAD - Markdown formatted tweets will be displayed.
1st tweet in the thread
[2019/10/27 12:30](https://twitter.com/sunasaji/status/xxxxxxxxxxxxxxxxxxx)
2nd tweet in the thread<br>
<http://example.com>

[2019/10/27 12:31](https://twitter.com/sunasaji/status/xxxxxxxxxxxxxxxxxxx)
These codes are licensed under CC0.
