E D R , A S I H C RSS

to.상협

~cpp
#!/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) 

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:31:45
Processing time 0.0156 sec