PhoenixTwo Posted November 20, 2008 Share Posted November 20, 2008 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. Quote Link to comment https://forums.phpfreaks.com/topic/133454-extracting-specific-lines-of-data-from-an-external-website/ Share on other sites More sharing options...
Adam Posted November 20, 2008 Share Posted November 20, 2008 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 Quote Link to comment https://forums.phpfreaks.com/topic/133454-extracting-specific-lines-of-data-from-an-external-website/#findComment-694192 Share on other sites More sharing options...
PhoenixTwo Posted November 20, 2008 Author Share Posted November 20, 2008 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? Quote Link to comment https://forums.phpfreaks.com/topic/133454-extracting-specific-lines-of-data-from-an-external-website/#findComment-694765 Share on other sites More sharing options...
PhoenixTwo Posted November 24, 2008 Author Share Posted November 24, 2008 Anyone have any ideas, or can guide me in the right direction? Quote Link to comment https://forums.phpfreaks.com/topic/133454-extracting-specific-lines-of-data-from-an-external-website/#findComment-698211 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.