This question pertains to a graded assignment. In the assignment I am asked to get a web-page, locate a html address, go to the address, locate another address, go to that address, and loop for n times. 
 I would like any insight to why my code is not loading a url. I want to understand what I am doing wrong, but not necessarily be given the answer.
 I am completely new to this, but quickly becoming obsessed.
I hope this question is appropriate in both form and scope for this forum.

The class requires Python 2.7, BeautifulSoup 3, and urllib,

> 
> *MAIN QUESTION*: **Am I on the right path to think that the stored url in "url =" is the wrong 
>  type for urllib?**
> 
> 
> 

Traceback points to lines in urllib.py that suggest it is not able to parse(unsure if this is the right word) lines 87, 185, and 1077 due to issues with object type.

I start with:

```
         url = ('http://some.known.website.html')
         # Then get web-page:
         html = urllib.urlopen(url).read()
         # I use a "for" loop to iterate through the "tags":
         for tag in tags:
             # Then convert to string:
             urlname = str(tag)
             # Extract url with findall:
             url = re.findall('href="(http://.*)"',urlname)
             # load new "url" by looping back:
             html = urllib.urlopen(url).read()

             # This is the contents of "url" (obfuscated) as printed 
             # to the terminal by a "print 'URL : ',url" staement:
             URL :  ['http://some.website.html']

```

This is the error message:

```
      Traceback (most recent call last):
        File "12-4test.py", line 17, in <module>
           html = urllib.urlopen(url).read()
        File "/usr/lib/python2.7/urllib.py", line 87, in urlopen
           return opener.open(url)
        File "/usr/lib/python2.7/urllib.py", line 185, in open
           fullurl = unwrap(toBytes(fullurl))
        File "/usr/lib/python2.7/urllib.py", line 1077, in unwrap
           url = url.strip()
      AttributeError: 'list' object has no attribute 'strip'

```