Added .gitignore

This commit is contained in:
jeancf 2020-03-22 11:58:15 +01:00
parent aa50e934e6
commit 305c3d05c7
2 changed files with 6 additions and 0 deletions

5
.gitignore vendored Normal file
View File

@ -0,0 +1,5 @@
.idea/
.vscode/
venv/
*.secret
twoot.db

View File

@ -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