Simple web crawler in C#

前端 未结 4 770
囚心锁ツ
囚心锁ツ 2020-12-04 18:55

I have created a simple web crawler but i want to add the recursion function so that every page that is opened i can get the urls in this page,but i have no idea how i can d

4条回答
  •  春和景丽
    2020-12-04 19:13

    From a design standpoint, I've written a few webcrawlers. Basically you want to implement a Depth First Search using a Stack data structure. You can use Breadth First Search also, but you'll likely come into stack memory issues. Good luck.

提交回复
热议问题