In [3]:
import urllib

#Specify URL for search
url = 'http://export.arxiv.org/api/query?search_query=title:&start=0&max_results=1'

#Do search and print
data = urllib.urlopen(url).read()
print (data)

# read title, abstract, authors

# count words in the abstract


---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-3-84f1087ada39> in <module>()
      5 
      6 #Do search and print
----> 7 data = urllib.urlopen(url).read()
      8 print (data)
      9 

AttributeError: module 'urllib' has no attribute 'urlopen'

In [ ]:


In [ ]: