Filter on mp4 media:content attachments

Hi all!

I have one feed where posts occasionally have links to MP4 files as media:content attached. The code in the RSS XML looks like this:

      <media:content url="https://files.mastodon.social/cache/media_attachments/files/109/584/612/582/360/330/original/5756bf06913dd6fa.mp4" type="video/mp4" fileSize="6684418" medium="video">
        <media:rating scheme="urn:simple">adult</media:rating>
      </media:content>

I am trying to filter on these posts and tried the filter regex “.mp4” in “Content” and in “Link” but neither did match these posts. Is there a way to trigger on such attachments?

Reiner

i don’t think you can filter based on enclosures. can’t check the code right now because flu.

Sorry to hear you are ill. Get well soon!

Oh, oh! :frowning: … … Welp, ditto to what OP typed, fox.
.

thanks guys!

20charrrr