示例#1
0
 /// <summary>
 /// Clears the queue and adds a fresh list of proxies to the queue.
 /// </summary>
 public static void RenewQueue()
 {
     queue.Clear();
     queue = Scrape.ScrapeProxies();
 }
示例#2
0
 /// <summary>
 /// the static constructor that starts the scraper and adds proxies to the queue
 /// </summary>
 static Proxy()
 {
     queue = Scrape.ScrapeProxies();
 }