Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #24274

Re: Data retrieving from html text on a webpage

From Denis McMahon <denismfmcmahon@gmail.com>
Newsgroups comp.lang.javascript
Subject Re: Data retrieving from html text on a webpage
Date 2014-05-20 10:05 +0000
Organization A noiseless patient Spider
Message-ID <llf9e2$8b0$3@dont-email.me> (permalink)
References <08bb65e9-25e1-47f0-94bd-c1cb6525375e@googlegroups.com> <lldu05$787$1@dont-email.me> <537a7de1$0$6653$9b4e6d93@newsspool3.arcor-online.net>

Show all headers | View raw


On Mon, 19 May 2014 23:55:46 +0200, Christoph Michael Becker wrote:

> Denis McMahon wrote:
> 
>> On Sun, 18 May 2014 01:18:46 -0700, FAISAL ISMAIL wrote:
>> 
>>> i am trying to extract html text from a table on the link
>>> (http://floodobservatory.colorado.edu/AMSR-E%20Gaging%20Reaches/
>> Summary3.htm)
>>> the data is in rows and columns. all i want is to extract data for
>>> some specific country e.g Pakistan.
>>>  Kindly help me with the issue.
>> 
>> By the way, if I was trying to scrape data from a website, I'm not sure
>> that javascript would be my first choice language either.
> 
> Why not?  Are there better alternatives?

From my machine sitting here, trying to scrape data from a website over 
there, I would be inclined to use either python or php, making use of 
libraries to retrieve urls and other libraries that allowed dom 
manipulation.

For example, 12 lines of python gets me a list of lists of the table cell 
content in the webpage posted by the OP meeting his criteria.

-- 
Denis McMahon, denismfmcmahon@gmail.com

Back to comp.lang.javascript | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Data retrieving from html text on a webpage FAISAL ISMAIL <faesal19@gmail.com> - 2014-05-18 01:18 -0700
  Re: Data retrieving from html text on a webpage Denis McMahon <denismfmcmahon@gmail.com> - 2014-05-18 15:41 +0000
  Re: Data retrieving from html text on a webpage "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-05-18 17:41 +0200
    Re: Data retrieving from html text on a webpage FAISAL ISMAIL <faesal19@gmail.com> - 2014-05-18 12:52 -0700
  Re: Data retrieving from html text on a webpage Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-05-18 23:29 +0200
    Re: Data retrieving from html text on a webpage John Harris <niam@jghnorth.org.uk.invalid> - 2014-05-19 11:04 +0100
      Re: Data retrieving from html text on a webpage Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-05-19 13:11 +0200
        Re: Data retrieving from html text on a webpage John Harris <niam@jghnorth.org.uk.invalid> - 2014-05-20 10:43 +0100
          Re: Data retrieving from html text on a webpage Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-05-21 14:34 +0200
            Re: Data retrieving from html text on a webpage John Harris <niam@jghnorth.org.uk.invalid> - 2014-05-22 10:42 +0100
    Re: Data retrieving from html text on a webpage FAISAL ISMAIL <faesal19@gmail.com> - 2014-05-22 09:07 -0700
  Re: Data retrieving from html text on a webpage Denis McMahon <denismfmcmahon@gmail.com> - 2014-05-19 21:44 +0000
    Re: Data retrieving from html text on a webpage Christoph Michael Becker <cmbecker69@arcor.de> - 2014-05-19 23:55 +0200
      Re: Data retrieving from html text on a webpage "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-05-20 00:04 +0200
        Re: Data retrieving from html text on a webpage Christoph Michael Becker <cmbecker69@arcor.de> - 2014-05-20 12:59 +0200
          Re: Data retrieving from html text on a webpage "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-05-20 17:13 +0200
      Re: Data retrieving from html text on a webpage Ben Bacarisse <ben.usenet@bsb.me.uk> - 2014-05-20 00:40 +0100
        Re: Data retrieving from html text on a webpage Christoph Michael Becker <cmbecker69@arcor.de> - 2014-05-20 13:17 +0200
          Re: Data retrieving from html text on a webpage Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-05-21 14:19 +0200
            Re: Data retrieving from html text on a webpage Ben Bacarisse <ben.usenet@bsb.me.uk> - 2014-05-21 13:51 +0100
              Re: Data retrieving from html text on a webpage Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-05-21 17:55 +0200
      Re: Data retrieving from html text on a webpage Denis McMahon <denismfmcmahon@gmail.com> - 2014-05-20 10:05 +0000
        Re: Data retrieving from html text on a webpage Christoph Michael Becker <cmbecker69@arcor.de> - 2014-05-20 13:03 +0200

csiph-web