include co. name in msg, filter mentions to co.

This commit is contained in:
muskit
2023-01-13 02:55:25 -08:00
parent 68ac59d5c5
commit a9188fe07a
4 changed files with 33 additions and 11 deletions
+4 -1
View File
@@ -1,6 +1,7 @@
## Shared utility functions.
import os
import sys
import traceback
from datetime import datetime
@@ -52,7 +53,9 @@ def get_key_from_value(d, val):
async def create_ttweet_image(ttweet):
tc = TweetCapture()
tc.driver_path = '/usr/bin/chromedriver' # Linux chromedriver path
if 'linux' in sys.platform:
# Linux chromedriver path
tc.driver_path = '/usr/bin/chromedriver'
filename = f'{get_project_dir()}/img.png'
url = ttweet_to_url(ttweet)
img = None