Simple web crawler in C#

前端 未结 4 790
囚心锁ツ
囚心锁ツ 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:25

    The following includes an answer/recommendation.

    I believe you should use a dataGridView instead of a textBox as when you look at it in GUI it is easier to see the links (URLs) found.

    You could change:

    textBox3.Text = Links;
    

    to

     dataGridView.DataSource = Links;  
    

    Now for the question, you haven't included:

    using System.  "'s"
    

    which ones were used, as it would be appreciated if I could get them as can't figure it out.

提交回复
热议问题