Designing a web crawler

前端 未结 10 1247
醉梦人生
醉梦人生 2020-12-04 04:54

I have come across an interview question \"If you were designing a web crawler, how would you avoid getting into infinite loops? \" and I am trying to answer it.

How

10条回答
  •  天涯浪人
    2020-12-04 05:08

    You'd have to have some sort of hash table to store the results in, you'd just have to check it before each page load.

提交回复
热议问题