Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (14 sloc) 453 Bytes
import urllib2
from bs4 import BeautifulSoup as bs
class Gamespot():
def __init__(self,url):
self.url=url
def run(self):
page=urllib2.urlopen(self.url).read()
parser=bs(page)
a=parser.find("table",{"summary":"GameSpot's All Reviews"})
game=a.tbody.tr
while (game):
title=str(game.th.a.contents[0])
review=str(game.th.a.get("href"))
platform