Answer the question
In order to leave comments, you need to log in
How to parse ajax site requests with Curl?
There is a site with cartoons for children " https://kadikama.ru/ " page of one series " https://kadikama.ru/11-2014-vspysh-i-chudo-mashink... " and when the page loads, the first segment is loaded video
" https://giza.ourdb.ru/tvseries/e731f52858ba446c4f4... " and how to get all incoming and outgoing ajax site requests through Curl. And then I'll just remove "seg-1-" through a regular expression.
Answer the question
In order to leave comments, you need to log in
There is no way to do it with curl, because js is executed in the browser
Options:
- through the developer panel, see where and with what parameters requests are flying and substitute in curl
- use phantomjs or selenium web driver to fully enter the site and pull out information (as an extreme case, slowly but true)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question