Could you help me to solve the problem?
I have the webrequest
WebTestRequest request1 = new WebTestRequest("http://www.theverge.com/");
request1.ParseDependentRequests = false;
yield return request1;
and the response on it:
<li><a href="https://www.facebook.com/verge" tabindex="2">
<svg class="p-svg-icon"><use xlink:href="#icon-facebook"></use></svg>
</a></li>
<li><a href="https://twitter.com/verge" tabindex="3">
<svg class="p-svg-icon"><use xlink:href="#icon-twitter"></use></svg>
</a></li>
<li><a href="/rss/index.xml" tabindex="4">
<svg class="p-svg-icon"><use xlink:href="#icon-rss"></use></svg>
</a></li>
I want to find all URLs on this page and random use them in the next step. As I understand, I should use
string response = LastResponse.BodyString;
than regex, to make an ArrayList
Class and take a random url.
Could somebody help me with it?