Need Help With Imacros

squelsh

Regular Member
Joined
Mar 19, 2009
Messages
349
Reaction score
171
Hi Guys,

If anyone can help with this I would really appreciate it.

I'm trying to scrape a page using the imacros scripting edition.

Basically I'm trying to extract a series of links which are both H3 tags and links i.e.

<h3><a style='font-size: 11pt;' href="/URL-I-WANT-TO-EXTRACT" >Page Name</a></h3> and I want the URL itself

All of the links are on the same page.

When I try to write it into a script I can extract a H3 tag fine using the following:

TAG POS=1 TYPE=H3 ATTR=* EXTRACT=TXT

and this will get all of the links on the page

TAG POS=1 TYPE=A ATTR=* EXTRACT=HREF

However I cant seem to come up with anything that will find all of the links that are H3 as well.

Pulling my hair out here, hope someone can help!
 
Help solve the problem with placing the post on the forum.

Sorry for bad English - I use a translator

When placing posts on certain forums, iMacros correctly defines all the identifiers of fields.
And all the posts are placed perfectly.
These forums include the following sites:

Example:

1.
TAG POS=1 TYPE=TEXTAREA FORM=NAME:vbform ATTR=ID:vB_Editor_001_textarea CONTENT=((item!LOOP)) - insert text from datasources.txt

TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:vbform ATTR=ID:subject CONTENT=((title!LOOP)) - insert header from datasources.txt
2.
TAG POS=1 TYPE=TEXTAREA FORM=NAME:postform ATTR=NAME:message CONTENT=
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:postform ATTR=NAME:subject CONTENT=

3.
TAG POS=1 TYPE=TEXTAREA FORM=NAME:postmodify ATTR= NAME:message CONTENT=
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:postmodify ATTR=NAME:subject CONTENT=


On other forums is to realize you can not - this is an example of such forums:


Subject field is defined as well as on successful forums

Example:

TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:postmodify ATTR=NAME:subject CONTENT=
But the text entry field "vB_Editor_001_textarea" is not defined explicitly.

If you enter text in the iMacros RECORD MODE, the text is on the frames and fields are not identified as above.

And instead ---->
TAG POS=1 TYPE=TEXTAREA FORM=NAME:vbform ATTR=ID:vB_Editor_001_textarea CONTENT=
shows only the following --->

FRAME F=1
TAG POS=1 TYPE= P ATTR=*
QUESTION 1: I realize in this case, typing in a field editor for the above scheme, which works on the successful forums?

Here is a forum where it is necessary to implement ---->
Code:
http://www.cysforum.com/forumdisplay.php?f=36
QUESTION 2: What and how to determine the identifiers of fields on other similar forums?

Thanks!
 
I desperatly need help with imacros, i am a total noob...
Anyway i am willing to offer you money if you prove your capabilities. yahoo messenger leo_waw
 
Back
Top