fix tweets mentioning cross-company, chromedriver

This commit is contained in:
muskit
2023-01-11 17:11:41 -08:00
parent 4726a20dd1
commit d183d1720c
4 changed files with 103 additions and 83 deletions
+1
View File
@@ -49,6 +49,7 @@ def get_key_from_value(d, val):
async def create_ttweet_image(ttweet):
tc = TweetCapture()
tc.driver_path = '/usr/bin/chromedriver' # Linux chromedriver path
filename = f'{get_project_dir()}/img.png'
url = ttweet_to_url(ttweet)
img = None