Jump to content

Get website's page contents faster


ziegel

Recommended Posts

What would be the fastest way to open many webpages and get the data from them?

I am creating an item database for a game, and I am going to be looping through the items on their website to get the correct data to display in my item database. However, this game has around 15,000 items, and right now the speed is slow (I don't expect it to be fast, though).

 

I've tried file_get_contents() and cURL, but each of them takes about 60-70 seconds to open EACH page. I'm thinking there has to be another way, since other sites with item databases for this game loop through this page for each item 2 or 3 times a day.

 

Any ideas?

Link to comment
https://forums.phpfreaks.com/topic/170436-get-websites-page-contents-faster/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.