Fixing of text from page and transfer to List C#



  • Hello, there's a problem.

    I have to evaporate the proxy from the page and then send them to the List.

    public static List<string> ProxyList = new List<string>();
    

    введите сюда описание изображения

    But I' such a mistake.

    The password code itself is proxy.

     string URLProxy = client.DownloadString("http://awmproxy.com/freeproxy_2356428077.txt?");
    

    Can you tell me how I can do this properly? Thank you.



  • We need to break the data on the lines. https://msdn.microsoft.com/en-us/library/system.string.split(v=vs.110).aspx and add them to the list https://msdn.microsoft.com/en-us/library/z883w3dc(v=vs.110).aspx 😞

    ProxyList.AddRange(URLProxy.Split());
    



Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2