ValueError 03-07-2014, 05:35 AM
#1
I'm working on a top secret project in Python that requires I grab the whois list from SL.
I feel retarded for asking, but can anyone help?
I feel retarded for asking, but can anyone help?
Code:
import urllib,sys
if sys.version_info[0] > 2:
import urllib.request as urlreq
else:
import urllib2 as urlreq
w = urlreq.urlopen('https://www.sinister.ly/')
xread = str(w.read())
if "fuck you bill bergenstein" in xread:
whosonline = "What the fuck?"
else:
(t,c) = xread.split("""<tr><td class="trow1"><span class="smalltext">""",1)
(c,t) = c.split("""</span></td></tr>""",1)
whosonline = c
print(whosonline)![[Image: BXqGARG.png]](https://i.imgur.com/BXqGARG.png)










![[+]](https://sinister.li/images/modern/collapse_collapsed.png)



![[Image: jWSyE88.png]](http://i.imgur.com/jWSyE88.png)