Extract Recent Activity data from a user's profile page

I want to extract Recent Activity data for a user(i.e the latest submission time of a user), it is for my college project.
I tried it with BeautifulSoup in python, using it on a random user page,


import urllib

from bs4 import BeautifulSoup

page = urllib2.urlopen(‘http://www.codechef.com/users/peeyushy95’)

page = page.read()

soup = BeautifulSoup(page)


f1=open(’./testfile.txt’, ‘w+’)


But, only Recent Activity heading is written in file.
Can someone help me ?