I would like to retrive history words from an online dictionary webpage with Python 3.2 urllib
Question: I am using [tureng](http://tureng.com) online dictionary for Turkish-English /
English-Turkish translation and this webpage records word search history and I
would like to retrive these words with this code

    
    
    import urllib.request
    f = urllib.request.urlopen("http://tureng.com/history/details")
    text=f.read().decode('utf-8')
    #print(text)
    
    start = text.find("<span class=\"historyTerm\"><a href=\"/search/")
    

I know how to parse the searched word afterwords however the problem is that
while retriving the page source with urllib, I can't see my searched words. It
says "there are no history records for this day". So how can I solve this
problem?

If you view the page source after searching a few words, you can see [tureng
history words](http://tureng.com/history/details)

Here in my browser, I can see the searched words:

![turenginbrowser](http://i.stack.imgur.com/Dw5nb.png)

Here in python:

![turenginpython](http://i.stack.imgur.com/1x2hm.png)


Answer: When you're looking up for words and translations, I suppose that you're using
your web browser. The website you're using should store the history of lookup
inside a cookie or in the cache of your browser. When your calling the URL
using your python script, it's the same as opening a new web browser with a
clean session.

