Jump to content
UBot Underground

How to scrape the number in this code


Recommended Posts

I got another problem with an iframe. When I navigate to the iframe with the editor in firefox it loads a page with a unique ID for every page (e.g. page=1619). The only way I can think of on how to scrape the page number is by saving the page with only a title and no content, navigating to the blog and pagescrape the title that's residing in the sidebar with the menu.

 

When I pagescrape the title I get the code below. The parts where it says 'VAR' are parts in the code that changes depending on the subdomain and title. The part I want to scrape is the number '1619' but I can't figure out how to use wildcards to scrape it.

 

<A onmouseover="thlinkdesc('pagina body','lightblue', 300)" title=VAR onmouseout=hidethlinkdesc() href="http://VAR.domain.eu/start/universalis.php?ref=VAR&dom=domain.eu&page=1619">VAR</A>

 

post-2606-0-24125500-1305831822_thumb.png

Link to post
Share on other sites

why not chose by attribute the number with wildcards, save to a list and use as needed?

 

I'm not sure if I understand, how do I save the number to the list? Don't I have to wildcard the variables since they are different depending on the title/blog?

Link to post
Share on other sites

if you can share the site, or code it is a lot easier to point things out and help you.

 

can email me if you like as well. lowridertj@botguru.net

 

Alright, thanks LoWrIdErTJ, I've send you an email.

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...