well, the page I parse is automatically generated and thus allways contains </html>. (if the page completely downloaded which it didn't). The second error I found (my mistake) is that newlines get scrambled up severely when downloading the page causing the markers I try to find to sometimes break down on two different lines. replacechars from std.string crashed too with the error "invalid utf sequence". Now I use std.array's replace and everything (appears) to be working.
If only I'd learned regex, I think that would've saved me quite some time.