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