A
A
Alexander Vasyuchenko2016-01-14 09:11:29
Parsing
Alexander Vasyuchenko, 2016-01-14 09:11:29

How to implement a web service for extracting video links?

Tell me how to properly implement a web service that would extract links to videos from other sites?
those. enter the address of the page with the movie or video, click "detect" and the page is parsed to extract the link to the mp4 or m3u8 file.
Making such an application on Android, for example, is not difficult, because. there the parser works on the client side in JS.
If you make a similar service as a website, then the parser turns out to be written in PHP, for example. The problem may not be the server load, if thousands of users parse video links at the same time.
Does anyone have any ideas or experience on how to implement something like this?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander, 2016-01-14
@tusklozeleniy

To make such a service, not limited by pre-loaded algorithms for a finite number of sites, and at the same time not heavily load the server? Unlikely. First, set a dozen of the most popular sites, and then look at the statistics - who wanted to download from where, but could not. And slowly add more and more. Or they drank not a service, but a plug-in for browsers, which they already spawned)

A
Artem Vereschaka, 2016-01-14
@And3en

What's stopping you from doing the implementation, again using JS on the client side?
If it is still on the server side, then try to optimize the search algorithm as much as possible and upgrade the hardware :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question