Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. IT & Infrastructure
  4. Capture data from web page

Capture data from web page

Scheduled Pinned Locked Moved IT & Infrastructure
htmlcomhardwarehelpquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Mark T
    wrote on last edited by
    #1

    I want to gather the charted data from this page: http://moneycentral.msn.com/investor/StockRating/srstopstocksresults.aspx?Score=10 and process it in software. The problem is the page content is loaded via scripts and the page's .html source does not contain the data. So my initial idea of getting and processing the page's .html source won't work. Embedded URLs in the scripts do not provide the data. Manually typing Control-A Control-C and pasting into a text document would work, but I'd prefer an automated solution. A. I've seen one Windows program control another, but I've never done it. Is there some straightforward way my browser be controlled to send me the text or save it to a file? OR B. Perhaps a FireFox plug-in should be written? (I've never written a plug-in before, either.) OR C. Other? Suggestions would be appreciated. Thanks, Mark

    D 1 Reply Last reply
    0
    • M Mark T

      I want to gather the charted data from this page: http://moneycentral.msn.com/investor/StockRating/srstopstocksresults.aspx?Score=10 and process it in software. The problem is the page content is loaded via scripts and the page's .html source does not contain the data. So my initial idea of getting and processing the page's .html source won't work. Embedded URLs in the scripts do not provide the data. Manually typing Control-A Control-C and pasting into a text document would work, but I'd prefer an automated solution. A. I've seen one Windows program control another, but I've never done it. Is there some straightforward way my browser be controlled to send me the text or save it to a file? OR B. Perhaps a FireFox plug-in should be written? (I've never written a plug-in before, either.) OR C. Other? Suggestions would be appreciated. Thanks, Mark

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      Mark T. wrote:

      The problem is...the page's .html source does not contain the data.

      Sure it does. It's in a down around line 221.


      "Approved Workmen Are Not Ashamed" - 2 Timothy 2:15

      "Judge not by the eye but by the heart." - Native American Proverb

      M 1 Reply Last reply
      0
      • D David Crow

        Mark T. wrote:

        The problem is...the page's .html source does not contain the data.

        Sure it does. It's in a down around line 221.


        "Approved Workmen Are Not Ashamed" - 2 Timothy 2:15

        "Judge not by the eye but by the heart." - Native American Proverb

        M Offline
        M Offline
        Mark T
        wrote on last edited by
        #3

        I thought "What does he mean?... grumble... grumble..." And then I looked and found it. Don't know why I didn't see it before. Thanks. Mark

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups