From 305c3d05c7e4580c9e8fa9cf2424de4a8a544d1e Mon Sep 17 00:00:00 2001 From: jeancf Date: Sun, 22 Mar 2020 11:58:15 +0100 Subject: [PATCH] Added .gitignore --- .gitignore | 5 +++++ twoot.py | 1 + 2 files changed, 6 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b043063 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +.idea/ +.vscode/ +venv/ +*.secret +twoot.db diff --git a/twoot.py b/twoot.py index 4441554..8563460 100755 --- a/twoot.py +++ b/twoot.py @@ -116,6 +116,7 @@ def cleanup_tweet_text(tt_iter): if tag.has_attr('data-expanded-path'): data_expanded_path = tag['data-expanded-path'] if 'video' in data_expanded_path: + # TODO Optionally download video from twitter and upload to mastodon tweet_text += '\n\n[Video embedded in original tweet]' # If element is hashflag (hashtag + icon), handle as simple hashtag