Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Pulling product data from ANY website

Posted on 2014-04-03
5
Medium Priority
?
347 Views
Last Modified: 2014-04-22
A client has approached me and wants to create a tool similar to amazons wish list.

Basically, you browse to a website page, add the URL to the tool, and the tool scrapes the website to extract the product name, image, price etc.

Scraping isn't really an issue here, however the client wants it to pull product data from almost any website, which I'm struggling to figure out how to do as each website has a different structure to its HTML.

I'm guessing amazons wish list is using some kind of AI that's been trained to accurately determine which data on the page it needs.

I'm thinking this is a huge task for a single developer, but wondered if I was maybe overthinking this and if there was already a solution available?
0
Comment
Question by:SheppardDigital
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 111

Expert Comment

by:Ray Paseur
ID: 39975223
Amazon's wish list is a huge task even for Amazon's hundreds of developers.

Try this Google search: https://www.google.com/?q=wish+list+maker

One problem you may encounter (and it will become more prevalent over time) is that many sites do not publish product information in HTML any more.  They use a placeholder and use jQuery/ AJAX to load the information directly into the DOM.  The reason for doing this is to prevent 'bots from scraping data out of their HTML.
0
 
LVL 54

Expert Comment

by:Scott Fell, EE MVE
ID: 39975315
Some easy options....

You could use pintrest api's and perhaps capture peoples pins by having your app send to a special user's pinboard called "wish list".  Then you can grab that wish list via the user id and board id through xml.

Limit to whatever is on one api like amazon http://docs.aws.amazon.com/AWSECommerceService/latest/DG/CHAP_FindingItemstoBuy.html  and build your app around that.
0
 

Accepted Solution

by:
SheppardDigital earned 0 total points
ID: 40008364
Hi, it seems my client has found a third party API where you provide it with a URL and it will return the product information for you.

The service found was http://www.diffbot.com/
0
 
LVL 111

Expert Comment

by:Ray Paseur
ID: 40008566
If your client is happy, we're happy.  But I would test that service very, very carefully (and check the terms of use) before I relied on it for more than hobby applications.
0
 

Author Closing Comment

by:SheppardDigital
ID: 40014355
This was the more suited answer
0

Featured Post

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

These days socially coordinated efforts have turned into a critical requirement for enterprises.
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question