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,

Code

import urllib

from bs4 import BeautifulSoup

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

page = page.read()

soup = BeautifulSoup(page)

soup.prettify()

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

f1.write(soup.get_text().encode(‘utf-8’))

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