show parent tweets
This commit is contained in:
+3
-2
@@ -60,7 +60,8 @@ async def create_ttweet_image(ttweet):
|
|||||||
url=url,
|
url=url,
|
||||||
path=filename,
|
path=filename,
|
||||||
mode=4,
|
mode=4,
|
||||||
night_mode=1
|
night_mode=1,
|
||||||
|
show_parent_tweets=True
|
||||||
)
|
)
|
||||||
img = fix_aspect_ratio(img)
|
img = fix_aspect_ratio(img)
|
||||||
except:
|
except:
|
||||||
@@ -133,4 +134,4 @@ def get_user_id_online(username) -> int:
|
|||||||
user = twint.output.users_list[0]
|
user = twint.output.users_list[0]
|
||||||
return user.id
|
return user.id
|
||||||
except:
|
except:
|
||||||
return -1
|
return -1
|
||||||
|
|||||||
Reference in New Issue
Block a user