09-13-2010, 12:30 PM
Change regular expression.
Macro Macro1438
Macro Macro1438
;out
str html
IntGetFile("http://www.youtube.com/results?search_query=handy&suggested_categories=28%2C24%2C1%2C23%2C26&page=2" html)
;out html; ret
str videofromuser
str pattern="<a id=''video-from-username(.*?)>"
ARRAY(str) a
if(!findrx(html pattern 0 4 a)) out "not found"; ret
int i
for(i 0 a.len)
,out "submatch=%s, whole=%s" a[1 i] a[0 i]