Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Can't the same hash mean different data?


Well, sure. But if you add another check for likelihood that `page` is fairly-correct html in utf8, there should be around one correct result really :) If you get 2, the other one is probably a <form> you can use to sell your soul to satan - do not hit submit if you get it.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: