diff --git a/crosspost.py b/crosspost.py index e79756b..a164747 100644 --- a/crosspost.py +++ b/crosspost.py @@ -91,6 +91,9 @@ def getPosts(): imageData = feed_view.post.embed.images elif feed_view.post.embed and hasattr(feed_view.post.embed, "media") and postType == "quote": imageData = feed_view.post.embed.media.images + elif feed_view.post.embed and hasattr(feed_view.post.embed, "external") and hasattr(feed_view.post.embed.external, "uri"): + text += '\n'+feed_view.post.embed.external.uri + if imageData: for image in imageData: images.append({"url": image.fullsize, "alt": image.alt})