No older revisions available
No older revisions available
~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)