Scraping in Ravel

Asked 1 years ago, Updated 1 years ago, 76 views

Which tool is most suitable for PHP or Ravel for scraping for data collection rather than testing?By the way, I would like to emphasize execution speed.

php laravel web-scraping

2022-09-30 21:42

1 Answers

Considering the amount of information and the package maker, I think Goutte would be fine.

There is no end to the speed of execution, and I think Goutte will be enough, but if you still don't want to compromise, you can use a combination of DOMDocument.In this case, the dependence of the package can be reduced, so it will be refreshing, but if you are not used to it, you will have trouble with the detailed implementation.

Also, I think it's possible to leave the request/response to the outside cURL and use DomCrawler in Symphony.Try various things and find something that suits you. :)


2022-09-30 21:42

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.