Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

To.상협

From ZeroWiki
#!/usr/local/bin/python 

import commands 
import string 
import time 

oldlen = 0 

while 1 : 
urldump = commands.getoutput('lynx -width=132 -nolist -dump http://board5.dcinside.com/zb40/zboard.php?id=dc_sell | grep 995') 
newlen = len(string.split(urldump)) 

if oldlen is not newlen : 
tmp = commands.getoutput('echo "%s" | smbclient -M 박준우 -' % string.join(string.split(urldump))) 
oldlen = newlen 
print string.join(string.split(urldump)) 

time.sleep(10)