Jump to content

Recommended Posts

Hi all,

 

I was just wondering if anyone can guide me in the right direction.

 

I'm trying to help out the fellas at work. They have a few suppliers websites, which are each visited about a thousand times a day (literally!). They log on to these sites with their username and password, and they do a search on certain products.

 

What I have been kindly asked to do for them is the following:

create a search page. When the search is made, the script logs in to all three sites with each sites' credentials, does the search, pulls only the search results data down to the local page and all three sites have been searched at once :)

 

Is that even possible??  ??? ??? Or is there a way of creating a script which runs every 30 minutes or so, does a search on all three sites to extract everything, and dumps it all into a database locally?

 

I have seen a website which runs every 10 minutes, extracts all data from a website (I'm not 100% sure what the script does, but it does not retrieve anything from a database) and dumps into a local database and people search off this page globally.

 

I would be very appreciative if anyone can help me out with this.

Is it simply a file content search? If so of course it's possible, what do you think google does to about 1,000,000,000,000 sites!? If you're wanting to search a database from each site, that could get more complicated, but still quite possible... ?

 

Adam

Hi Adam,

 

Basically, the guys at work go to a supplier website, log in, make a search in the supplier product page. Their search results appear in the following format for example:

 

results found: [5].. search query: iphone

qty  price  suppliercode  manufacturerpartnumber  itemtitle          itemdescription

12    $950    abc123              321cba                  16gb iphone    a little about the product

1      $200    .....                    .....                        .....                ........

etc etc...

 

What I am aiming to try and do is create a script which once a search query is entered, logs in to these 3 supplier sites automatically with the relevant username and password, create the search query within the site, and extract the search result lines ONLY (in this case, starting from 12, $950 etc.. until the end of the search results).

 

If I was able to access the supplier database, it would be much easier to just do a dump of the entire product lists into a database of my own, but I very much doubt they will give me access to that.

 

Any Ideas?

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.