Jump to content

Parsing a link


HaLo2FrEeEk

Recommended Posts

Hi, I want to use CURL to retrieve the code for a webpage then find a link inside the page, the link is in the format of:

 

http://files.redvsblue.com/RvB05/5x(*)/fl4sh/(*).flv

 

Where (*) indicates a wildcard, I want to be able to parse out this link to a variable, then print it on the page in a link for download, does anyone know how I can do this?  Here is one of the pages I will be parsing:

 

http://rvb.roosterteeth.com/archive/episode.php?id=244

 

The videos there are in flash video format and I like to download them in that format instead of the wmv format becuase the flash files are higher resolution, I know this is possible, so can someone show me how to please?

 

I had a file that would use CURL to get a file or page from a remote url, but I deleted it and I don't remember how to do it, so I'll need help with that too.

 

Thank in advance.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.