문제

Here's the input field I'm trying to select (from the website)

<input class="inputtext" maxlength="100" aria-label="Search" 
placeholder="Search Your Friends" autocomplete="off" 
aria-autocomplete="list" aria-expanded="false" aria-owns=
"typeahead_list_u_jsonp_6_3" role="combobox" spellcheck="false" 
value="Search" type="text">

I need to TAG it, and then do a relative search for URLs to extract after it. (I don't need to put anything in the input field.) The TAG is failing, and I'm getting the 1st URL on the page, not the first one after the input field. (The above entry field is the only easily selectable item before the links I need to grab.)

Here's the code that fails:

TAG POS=1 TYPE=INPUT:TEXT ATTR=NAME:*  
TAG POS=R1 TYPE=A ATTR=HREF:* EXTRACT=HREF

iMacros v. 7.6.0.2 for Firefox Windows XP SP3

(Unfortunately, the iMacros official forum is dead. So I brought this here.)

도움이 되었습니까?

해결책

You can only TAG things that you can do something with, such as forms, fields, and links.
See: http://wiki.imacros.net/TAG

다른 팁

that is because your code is to generic, try:

TAG POS=1 TYPE=INPUT:TEXT ATTR=class:inputtext
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top