mirror of
https://gitlab.com/jeancf/twoot.git
synced 2024-11-23 20:11:11 +00:00
Added .gitignore
This commit is contained in:
parent
aa50e934e6
commit
305c3d05c7
5
.gitignore
vendored
Normal file
5
.gitignore
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
.idea/
|
||||
.vscode/
|
||||
venv/
|
||||
*.secret
|
||||
twoot.db
|
1
twoot.py
1
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
|
||||
|
|
Loading…
Reference in New Issue
Block a user