I am so fucking bored............... 03-22-2015, 10:49 AM
#1
Code:
from BeautifulSoup import BeautifulSoup
import urllib2
page = urllib2.urlopen('https://sinister.ly/index.php')
soup = BeautifulSoup(page)
y = ''
for x in soup.html.body.findAll('tr'):
y = x.findAll('td')
if y and 'users active in the past 60 minutes' in y[0].text:
break
unlist = ''
for x in y:
unlist = str(x)
soup = BeautifulSoup(unlist)
print 'Online Users:'
count = 0
for x in soup.findAll('a'):
count += 1
for z in x.findAll('span'):
print str(count) + ' > ' + str(z.text)Somebody give me an idea for a python project. Please.














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

