i want scrape data off site requires authentication. however, though i've come across many tutorials regarding scraping, can't seem find 1 mentions logging in. know how send values using javascript injection don't know how load data right after that, or know if worked.
is there examples or tutorials know of can me started? i'm not sure if matters site authentication happens ends in .asp
thank you!!!
can inject password in js ?
afhttpclient handle authentication:
afhttpclient *httpclient = [[afhttpclient alloc] initwithbaseurl:url]; [httpclient setauthorizationheaderwithusername:@"username" password:@"password"]; http://afnetworking.github.io/afnetworking/classes/afhttpclient.html
Comments
Post a Comment