1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Question about grabbing info from eBay to my website

Discussion in 'General Scripting Chat' started by Ill Cosby, Mar 3, 2014.

  1. Ill Cosby

    Ill Cosby Registered Member

    Joined:
    Aug 29, 2012
    Messages:
    79
    Likes Received:
    1
    I am looking to build a website that aggregates certain listings from eBay to my website. From the research I've done, it seems pretty easy to get a bot to scrape the information from an eBay auction. However, one hurdle is trying to devise a way to scrape dynamic information from listings such as price changes and time left in the listing. Does anyone know how I can accomplish this or can point me in the right direction?
     
  2. MrBlue

    MrBlue Senior Member

    Joined:
    Dec 18, 2009
    Messages:
    955
    Likes Received:
    665
    Occupation:
    Web/Bot Developer
    You'll need to poll the site by making periodic requests in order to grab the updated data.
     
  3. gtownfunk

    gtownfunk Registered Member

    Joined:
    Jan 26, 2011
    Messages:
    99
    Likes Received:
    26
    Occupation:
    Software Developer
    Location:
    Austin, TX
    Home Page:
    Also, the auction end time is not actually changing.. just the time remaining (which is just the display of timespan between the auction time - current time). MrBlue is right, unless the website has some kind of mechanism to tell you through sockets.io you're going to need to poll. There might be some xml or json way to query the data tho.

    gtownfunk