Reddit module question: how to determine if there are images/videos attached to a post?

I want to make sure that no images are embedded in the reddit post… but the “embedded” category is not an array. Do you know how to tell if there is any image or video embedded in the post? and make it a filter?

Hi @Beata_Tali_Gold

The best way is to check for URL-based links (if the image is in link format). Alternatively, you can pass the content to OpenAI modules and ask to confirm if there is any image.

Regards,
Msquare Automation - Gold Partner of Make

Book a Free Consultation | Connect Live

Explore our YouTube Channel for valuable insights and updates!

Welcome to the Make community!

Could you provide an example output of a Reddit post with “embedded” category?

Please provide the output bundles of the modules by running the scenario (or get from the scenario History tab), then click the white speech bubble on the top-right of each module and select “Download input/output bundles”.
Screenshot_2023-10-06_141025

A.

Save each bundle contents in your text editor as a bundle.txt file, and upload it here into this discussion thread.
Uploading them here will look like this:

module-1-output-bundle.txt (12.3 KB)

B.

If you are unable to upload files on this forum, alternatively you can paste the formatted bundles in this manner:

  • Either add three backticks ``` before and after the code, like this:

    ```
    input/output bundle content goes here
    ```

  • Or use the format code button in the editor:
    Screenshot_2023-10-02_191027

Providing the input/output bundles will allow others to replicate what is going on in the scenario even if they do not use the external service.

This will allow others to better assist you. Thanks!

samliewrequest private consultation

Join the Make Fans Discord server to chat with other makers!

But I don’t see that as a data point within the Reddit data it returns after calling the “Watch new links” module.