Because raptr
is closing sooner or later I want to save all my play data. I can access first tab but that's it. How can I get data from 2nd, 3rd etc (It's at the bottom of the screen)?
My code:
import urllib2
page = urllib2.urlopen('http://raptr.com/john/games')
data = []
for line in page:
if "game\/" in line:
data.append(line)
sorter = []
for i in data:
sorter.append(i.split("game\/"))
games = []
for lst in sorter:
for part in lst:
if "game-title" in part:
games.append(part)
for game in games:
print(game)
P.S. I know about file but this file does't have all information I've uploaded to to the web page