这可能很愚蠢,但我真的不知道为什么会这样:
正如您在 gif 中看到的,第一个代理通常被放置,但所有其他代理都进入了新行。
我正在导入这样的代理:
Dim ofd As New OpenFileDialog With {.Filter = "Text Files (.txt)|*.txt"}
If ofd.ShowDialog = vbOK Then
Dim sr As IO.StreamReader = New IO.StreamReader(ofd.FileName)
proxies = sr.ReadToEnd
list = proxies.Split(Environment.NewLine)
End If
在计时器中,我有这个:
Label6.Text = list(ProxyIndex)
UseProxy(list(ProxyIndex))
'here is where I am navigating to the website'
ProxyIndex += 1