Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alias Walla6 { sockclose Walla16 | sockopen Walla6 news.walla.co.il 80 }
- on *:sockopen:Walla6:{
- if ($sockerr == 0) {
- var %a = sockwrite -tn Walla6
- %a GET / HTTP/1.1
- %a Host: news.walla.co.il
- %a Connection: keep-alive
- %a Accept: */*
- %a User-Agent: Mozilla/4.0 (compatible; MSIE 5.00; Windows 98)
- %a
- }
- }
- on *:sockread:Walla6:{
- if (!$sockerr) {
- var %var1
- sockread %var1
- if (<b class="block title"><a class="w4b" href=" isin %var1) { Set %Walla6 $remove($gettok(%var1,1,45),<b class="block title"><a class="w4b" href=,</a></b>) }
- if (<div class="subtitle"><a class="w3" href=" isin %var1) { Set %Walla4 $remove($gettok(%var1,1,45),<div class="subtitle"><a class="w3" href="?w=,<b class="block title"><a class="w7b" href="?w=) }
- if (<b class="block title"><a class="w3b" href=" isin %var1) { Set %Walla3 $remove($gettok(%var1,1,45),<b class="block title"><a class="w3b" href="?w=/9/2533092" >,</a></b>,<b class="block title"><a class="w3b" href="?w=/10/2534175" >,<img class="ico129" src="http://iscwne.walla.co.il/w9/v/i,<b class="block title"><a class="w3b" href="?w=/2971/2534207" >,<b class="block title"><a class="w3b" href="?w=/9/2534195" >,<b class="block title"><a class="w3b" href="?w=/13/2534206" >,<b class="block title"><a class="w3b" href="?w=) }
- sockclose $sockname
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement