Give help. Get help.

  • # June 15, 2013 at 2:54 pm

    I need to scrape a website using JS for a mobile app being built with phonegap.

    I have read that scraping using node.js is simple. So is there a way to tie up the app to node.js app that scrapes the websites and returns a json to the app. If so how? and what will I need

    # June 16, 2013 at 1:31 am

    >If so how?

    getting JSON from a server usually involves an HTTP request (e.g., AJAX).

    >and what will I need

    You’ll need to learn how to use AJAX and node.js, for starters.

    You should also make sure the sites in question will **allow** you to scrape their content. Usually, if a site wants to allow you access to their content, they’ll provide an API for the purpose (and there will be no need to try and figure it out yourself). Remember that copyright is _implied_ in most jurisdictions, and failure to refuse is not the same as granting permission. Ask first.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.