Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

ign ripped

  • Loading branch information...
commit a73b4b889b10332ba6f8a5f5ea051e55ef9ad255 1 parent d5319e3
unknown authored
Showing with 5 additions and 5 deletions.
  1. +2 −2 ign.py
  2. +1 −1  linkgrab.py
  3. +1 −1  metacritic.py
  4. +1 −1  scoregrab.py
View
4 ign.py
@@ -3,8 +3,8 @@
from urlparse import urljoin,urlsplit
from bs4 import BeautifulSoup as bs
-#for i in range(85):
-url="http://m.ign.com/games/reviews-editors-choice/p1"
+for i in range(85):
+url="http://m.ign.com/games/reviews-editors-choice/p" + i
soup=bs(urlopen(url).read())
info=soup.find("ul")
ab=info.li
View
2  linkgrab.py
@@ -31,4 +31,4 @@ def run(self):
game=game.nextSibling.nextSibling
print "\n\n ~~~~~~","Collected data of",count,"games ~~~~~"
return 1
-
+
View
2  metacritic.py
@@ -35,4 +35,4 @@ def run(self):
game=game.nextSibling.nextSibling
print "\n\n ~~~~~~","Collected data of",count,"games ~~~~~"
return 1
-
+
View
2  scoregrab.py
@@ -15,4 +15,4 @@ def run(self):
while (game):
title=str(game.th.a.contents[0])
review=str(game.th.a.get("href"))
- platform
+ platform
Please sign in to comment.
Something went wrong with that request. Please try again.