Closed Dimillian closed 10 years ago
Sound like it's fixed, HN fixed it :)
It's broken right now. I don't know what's going on but HN is adjusting its markup I think. I played with your scrapper a bit,
For example if you change
NSArray *htmlComponents = [html componentsSeparatedByString:@"<tr><td align=right valign=top class=\"title\">"];
to
NSArray *htmlComponents = [html componentsSeparatedByString:@"<tr><td align=\"right\" valign="\top"\ class=\"title\">"];
You get the components back, I'll let you look at the other things (like users, comments count etc..).
The weird thing is that it did the same thing yesterday and worked back after sometimes.
Yeah, since this morning, the scrapping of the news page (potentially) does not work anymore. I did not yet had the time to look at it.