gauravd has asked for the wisdom of the Perl Monks concerning the following question:

Monks, Tried using LWP::Simple and Useragent to get stocks displayed on this page but no success. Can you provide some pointers as to how I could get stocks displayed here using perl? http://caps.fool.com/screener-alt-results.aspx?fooldomain=caps.fool.com&MGSectorClassification1DigitCode=&MGIndustryGroupClassification2DigitCode=&MarketCap=-1&min_CurrentMarketValue=&max_CurrentMarketValue=&min_Percentile=&max_Percentile=&RunDate=&min_Percentile_1=&max_Percentile_1=&RunDate_1=&min_Percentile_2=&max_Percentile_2=&RunDate_2=&min_PctPriceChgFourWeeks=15.00&max_PctPriceChgFourWeeks=5545.20&x=77&y=11
  • Comment on Cannot download stock symbols on below page

Replies are listed 'Best First'.
Re: Cannot download stock symbols on below page
by thomas895 (Deacon) on Apr 10, 2012 at 04:10 UTC

    That's because the results on that page are in an iframe. The actual stocks, if that is what you are looking for, are here.

    ~Thomas~

      nice. (literally)

      Update: To clarify, given what is going on here over in the Discussion area, I appreciate this response.

      guaravd, if you still have problems after testing against the data source thomas895 provided, post the code you're having difficulty with.