Jump to content

How to scrape data without api?


Jason06
Go to solution Solved by Barand,

Recommended Posts

Hey There!

Would it be possible to scrape data without an API and display scraped data on my website? There are so many websites that do the same thing; they fetch data without an API and display it. It seems like cURL scrapes data without an API, but I'm not familiar with it. Can anyone assist me?  

Thanks!

Link to comment
Share on other sites

The following website is using cURL and scraping data and showing on their website without an API: (removed)

Can you recommend any tutorials or websites where I can learn more about cURL from beginner to advance levels.

Edited by requinix
removing link
Link to comment
Share on other sites

Web pages are just a combination of html, css, static resources like images, video and sound, and javascript.   Curl is not some magic scraper tool -- it is just a client library like many client libraries that can simulate the same conversation with a webserver (HTTP protocol) as a browser does.  There are numerous PHP client libraries that can also do what curl does.  Guzzle, Httpful and Httplug are a few of the most used ones.  Depending on what you want to do with code from the pages you are trying to scrape, you might be better off using one of those rather than the wrapper around Curl.

Your results depend greatly on what pages you are trying to scrape and the relative complexity of those pages, as well as what you want to try and do with the scraped results.  

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.