webpro 31 Posted July 27, 2013 Report Share Posted July 27, 2013 <HTML> <HEAD> <TITLE>The site</TITLE> </HEAD> <frameset ROWS="142,*" BORDER=0 FRAMEBORDER=0 FRAMESPACING=0> <frame name="header" scrolling="no" noresize marginheight="1" marginwidth="1" target="main" src="credits.php?credit=5&id=123&code=bd48f59a9f04aefd777453af&c=&userid=me&url=http%3A%2F%2Fwww.whatever.com%2Fcredits_click.php%3Fid%3D6928"> <frame name="main" src="http://www.whatever.com/credits_click.php?id=123"> <NOFRAMES>You need a frames enabled browser to view this page </NOFRAMES> </FRAMESET> </HTML> How do you scrape Iframes ?I'm trying this set(#SRC, $scrape attribute(<tagname="iframe">, "src"), "Global") Also set(#SRC, $scrape attribute(<frame name="main">, "src"), "Global") I also tried various attributes to scrape ex:outerhtml amoung other things. What is my mistake ? Thanks Quote Link to post Share on other sites
UBotDev 276 Posted July 27, 2013 Report Share Posted July 27, 2013 Well, the second example works: set(#SRC, $scrape attribute(<name="main">, "src"), "Global") and the first one doesn't, because the code doesn't contain "iframe" tag, it contains "frame" tag. The only problem I noticed with the code above is that UBot will return 3 URLs, although there is only 1 SRC URL that get matched. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.