DEV Community

loading...

Web Scraping Using Laravel and Goutte

spiritbro1 profile image spiritbro1 ・1 min read

preview

preview url: https://www.nikola-machinery.com/

Discussion

pic
Editor guide
Collapse
peter279k profile image
peter279k

I prefer install the guzzlehttp/guzzle and symfony/dom-crawler separately because it can let me select the preferred versions.

Collapse
spiritbro1 profile image
spiritbro1 Author

hello bro thanks for the suggestion actually i still learning laravel so i dont know much bout that but really great suggestion i will take a look into that later thanks for the suggestion

Collapse
peter279k profile image
peter279k

The Goutte package is to install some dependencies together and I don't need all of them that it includes.

I only install the guzzlehttp/guzzle and symfony/dom-crawler to accomplish my crwaling requirements :).

Thread Thread
spiritbro1 profile image
spiritbro1 Author

oh i see i got you know so we dont have a bunch of dependencies on our laravel apps thanks bro thats wonderful explanation i will try that in my next project

Collapse
spiritbro1 profile image
spiritbro1 Author

(commentspiritbro1english) i create a web scraping to get all the data from machineseeker.com/fy/customerwidget?kd=47224 and put it on the database of nikola-machinery.com