test.py 532 Bytes
#-*- coding:utf -8 -*-
import urllib
from bs4 import BeautifulSoup
fp = urllib.urlopen("http://www.op.gg/summoner/userName=abc")
source = fp.read()
fp.close()

soup = BeautifulSoup(source,"lxml")

table = soup.find_all("div","TimeStamp")
i = 0;
while i< len(table ):
    print table[i].string
    i = i+1;


#SummonerLayoutContent > div.tabItem.Content.SummonerLayoutContent.summonerLayout-summary > div.RealContent > div > div.Content > div:nth-child(3) > div:nth-child(1) > div > div.Content > div.GameStats > div.TimeStamp > span