title: Python TypeError Traceback (most recent call last)
body: <p>I am trying the build a crawler, and I want to print all the links on that page
  I am using Python 3.5</p>
  
  <p>there is my code </p>
  
  <pre><code>import requests
  from bs4 import BeautifulSoup
  def crawler(link):
      source_code = requests.get(link)
      source_code_string = str(source_code)
      source_code_soup = BeautifulSoup(source_code_string,'lxml')
      for item in source_code_soup.findAll("a"):
          title = item.string
          print(title)
  
  crawler("https://www.youtube.com/watch?v=pLHejmLB16o")
  </code></pre>
  
  <p>but I get the error like this</p>
  
  <pre><code>TypeError                                 Traceback (most recent call last)
  &lt;ipython-input-13-9aa10c5a03ef&gt; in &lt;module&gt;()
  ----&gt; 1 crawler('http://archive.is/DPG9M')
  
  TypeError: 'module' object is not callable
  </code></pre>