Forum: Ruby how do i check ads/images present on the web page

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
0b0ba1dcfec5021911c36d8ecce6aed9?d=identicon&s=25 yogesh (Guest)
on 2009-04-28 04:35
(Received via mailing list)
I need to check all the ads/images present on the webpage.They all are
coming from different locations,need to verify ,all images are loading
fine,no 404/302 error, also need to check the magic no is coming
correctly for that image.

you can use http://fanhouse.com as a input url.

Thanks,

Yogesh
1e736afdcdfe0753d67a81d449aca590?d=identicon&s=25 Srijayanth Sridhar (Guest)
on 2009-04-28 04:45
(Received via mailing list)
Is this a quiz or a query?

Get yourself hpricot, do some scraping using it on irb, and determine
some
basic heuristics/regexes for figuring out what css paths might refer to
ads
etc.

Jayanth
This topic is locked and can not be replied to.