JS gatherer with search in page
Posted: Wed May 18, 2011 5:45 pm
http://heliumscraper.com/wordpress/?p=115
Hi juan,
you postet on your Blog that with java script gathers a lot is possible.
Can you help me in this ?
Im trying to search in a page the string "Kg", and the return the value to a variable which should be used to extract the text.
I cannot write js.
I tried like that:
Can you see what Im doing wrong?
I tested it like you described by only selecting this "JS_Kg" in the active properties options..
Regards
Hi juan,
you postet on your Blog that with java script gathers a lot is possible.
Can you help me in this ?
Im trying to search in a page the string "Kg", and the return the value to a variable which should be used to extract the text.
I cannot write js.
I tried like that:
Code: Select all
var myRegExp1 = /kg|Kg/;
var result = search(myRegExp1);
return result;I tested it like you described by only selecting this "JS_Kg" in the active properties options..
Regards