Jump to content
UBot Underground

Recommended Posts

<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

Link to post
Share on other sites

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.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...