我的代码:
[Web loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:filePath]]];
NSString *html = [Web stringByEvaluatingJavaScriptFromString: @"document.getElementsByClassName('bottomwideborder')[1].innerHTML;"];
NSLog(@"%@", html);
不适用于此 html 文件 - http://www.mosgortrans.org/pass3/shedule.php?type=avto&way=0&date=0000011&direction=AB&waypoint=1(我尝试从 html 中提取表格)
请帮我!