From d9101dc7275ae8e78d7087ef643ac7ca54e805db Mon Sep 17 00:00:00 2001 From: Dylan Date: Sun, 12 Oct 2025 22:55:19 +0100 Subject: [PATCH] Fix media not being appended to --- vxApi.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vxApi.py b/vxApi.py index db8a88f..07eca17 100644 --- a/vxApi.py +++ b/vxApi.py @@ -116,7 +116,9 @@ def getApiResponse(tweet,include_txt=False,include_rtf=False): media.append(extendedInfo["url"]) media_extended.append(extendedInfo) else: - media_extended.append(getExtendedImageInfo(i)) + extendedInfo = getExtendedImageInfo(i) + media_extended.append(extendedInfo) + media.append(extendedInfo["url"]) if "hashtags" in tweetL["entities"]: for i in tweetL["entities"]["hashtags"]: