We need several PHP functions to extract direct links to media files from
pages of some media websites. Functions should be created in pure PHP
language only to work in background on our server, i.e. it should not be
browser extension or something similar. Any standard PHP extension (curl,
etc.) can be used.
If page have several versions of same file with different quality, link to
file with best quality should be extracted. If page have several versions
of file in different format, MP4 format is preferable.
Function should look like this:
// ...some code
For example, if function will be called for this link:
it should return this link:
Produced link should allow to download file by wget or download manager
without opening the webpage of target website.
List of necessary websites:
Only candidates with similar working experience will be considered and you will be asked for a demo or similar work done.