mIRC Proxy Problem

By curl on Dec 30, 2019

I cannot pull data from the proxy site.
How can I solve this problem?

I want to pull proxy ip from this site;

https://www.proxy-list.download/api/v1/get?type=http

alias htmlfree { if ($len($1-) <= 900) { var %x, %i = $regsub($1,/(^[^<]*>|<[^>]*>|<[^>]*$)/g,$null,%x), %x = $remove(%x, ,$chr(9)) | return %x } } 
alias _güncel { msg %opers Proxy list güncellendi toplam4 $lines(proxy.txt) | sockclose _proxy* }
alias _al {
  var %::rand $md5($ticks)
  sockopen $+(_proxy02,%::rand) www.proxy-list.download 80
  $+(.timer,qproxy) 1 60 _güncel
}
on *:sockopen:_proxy02*:{ var %:sockname2 .sockwrite -n $sockname | %:sockname2 GET /api/v1/get?type=http HTTP/1.1 | %:sockname2 Host: www.proxy-list.download | %:sockname2 Connection: Keep-Alive | %:sockname2 $crlf }
on *:sockread:_proxy02*:{ var %:proxy2 | sockread %:proxy2 | if (*.*:* iswm %:proxy2) && (*a* !iswm %:proxy2) { $iif(!$read(proxy.txt,w,$token($htmlfree(%:proxy2),1,58)), write proxy.txt $+($token($htmlfree(%:proxy2),1,58),:,$token($htmlfree(%:proxy2),2,58))) } }

Comments

Sign in to comment.
PurpleCow   -  18 days ago

You need to open a secure socket to the website.
Replace this line:

sockopen $+(_proxy02,%::rand) www.proxy-list.download 80

with this one:

sockopen -e $+(_proxy02,%::rand) www.proxy-list.download 443
curl  -  12 days ago

mIRC 7.58 working..
mIRC 6.35 problem. code does not work

Sign in to comment

biase   -  22 days ago

since mirc v7.56, Khaled added new identifier named $urlget..
you can use it to download file..

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.