Best answer

How to manipulate long list of URLs and extract just one?

  • 16 August 2023
  • 3 replies
  • 55 views

Userlevel 1

Hi

I’m trying to setup a Zap that automatically natively crossposts videos posted from Twitter to Facebook. The only direct MP4 url I can find from Twitter is called ‘Extended Entities Media Video Info Variants URL’. The only problem being with this that it is all the video res URLs molded into one.

Is there a way to extract just the highest res video link from this? So the 1080x1350 

Thanks.

 

 

icon

Best answer by ken.a 16 August 2023, 10:33

View original

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

3 replies

Userlevel 7
Badge +6

Hi @fabianharrison,

Welcome to the Community! 🎉

You can use the Text in Formatter by Zapier - Split Text function and use “,” as your separator and choose All (as Separate Fields) in the “Segment Index” drop down. Here’s what it’ll look like:

d1d0f7e6efe4bb445973bcea97ecc924.png
(view larger)


Then it will separate the resolution that you we’re looking for:

02e2b2bb233e0a278b1b76c0c720c5fe.png
(view larger)

Hopefully, this helps! 😊

 

Userlevel 1

Thanks! Works a treat!

Userlevel 7
Badge +6

Awesome! I’m glad I was able to help @fabianharrison!

If you have any other questions, please don’t hesitate to reach out to the Community. We’re always happy to help! 🤗