IRCRehberi.Net- Türkiyenin En iyi IRC ve Genel Forum Sitesi

IRCRehberi.Net- Türkiyenin En iyi IRC ve Genel Forum Sitesi (https://www.ircrehberi.net/)
-   mIRC Scripting Programları (https://www.ircrehberi.net/mirc-scripting-programlari/)
-   -   urlget.exe Python/mIRC (https://www.ircrehberi.net/mirc-scripting-programlari/46007-urlget-exe-python-mirc.html)

SuLh 17 Kasım 2020 23:25

urlget.exe Python/mIRC
 
Merhaba bu sabah aklıma gelen, mIRC 7.56 sürümüyle mirce gelen $urlget identifier'ından esinlenerek Python üzerinden kodlayıp / pyinstaller yardımıyla exe'ye döktüm.

2-3 özellik ekledim sadece. mIRC ana dizinine .exe dosyasını atmanız yeterlidir.

Kod:

alias urlget {
  if $1 == title {  python title $2 }
  elseif $1 == headers { python headers $2  }
  elseif $1 == aralik { python aralik $2 $3 $4 }
  else { echo 4 -s Yanlış data girdiniz. }
}
alias python {
  var %şşş $+(com,$r(1,999)) | .comopen %şşş wscript.shell
  .comclose %şşş $com(%şşş,run,1,bstr,cmd.exe /k urlget.exe $1- $+ |clip & exit,uint,0,bool,1)
  tokenize 32 $regsubex($str(- $chr(32),$cb(0)),/(-)/g,\n) | scon -r echo -a $!cb( $* )
}

Sonuçlar:

Kod:

/urlget title https://www.mirc.com

>> mIRC: Internet Relay Chat client

Kod:

/urlget headers https://www.mirc.com

>> {'Date': 'Tue, 17 Nov 2020 06:49:59 GMT', 'Server': 'Apache', 'Last-Modified': 'Mon, 17 Aug 2020 10:32:03 GMT', 'Accept-Ranges': 'bytes', 'Content-Length': '7231', 'Keep-Alive': 'timeout=5, max=100', 'Connection': 'Keep-Alive', 'Content-Type': 'text/html'}

Kod:

/urlget aralik "https://www.mirc.com/" "</strong>" "here"

>> client used by individuals and
organizations to communicate, share, play and work with each other on IRC networks
around the world. Serving the Internet community for over two decades, mIRC has evolved
into a powerful, reliable and fun piece of technology. You can learn about mIRC

[Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...]

Reyhan 17 Kasım 2020 23:27

Emeğinize sağlık ;ççk

She 17 Kasım 2020 23:45

Emeğinize sağlık paylaşım için teşekkürler.

oMeN 18 Kasım 2020 12:14

@[Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...] emeğine sağlık paylaşım için tşkler

KivanC 18 Kasım 2020 12:31

@[Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...] Emegine saglik.

L_ 18 Kasım 2020 18:44

Elinize sağlık

Ruyanur 13 Mart 2021 04:34

Emeğinize sağlık

ZeyNa 17 Nisan 2021 10:17

Emeğinize sağlık


Tüm Zamanlar GMT +3 Olarak Ayarlanmış. Şuanki Zaman: 12:16.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

Copyright ©2019 - 2023 | IRCRehberi