title: Extract CSS from href links
body: <p>This is the code to extract all the href links of a website by passing url of the website.</p>
  
  <pre><code>from BeautifulSoup import BeautifulSoup
  import urllib2
  import re
     html_page = urllib2.urlopen("http://kteq.in/services")
     soup = BeautifulSoup(html_page)
     for link in soup.findAll('a'):
        if link.get('href')==None:
            continue
        result = re.sub(r"http\S+", "", link.get('href'))
        print result
  </code></pre>
  
  <p>When I run the above code, the href links of that website are extracted. I get the following output.</p>
  
  <pre><code>  index
    index
    #
    solutions#internet-of-things
    solutions#online-billing-and-payment-solutions
    solutions#customer-relationship-management
    solutions#enterprise-mobility
    solutions#enterprise-content-management
    solutions#artificial-intelligence
    solutions#b2b-and-b2c-web-portals
    solutions#robotics
    solutions#augement-reality-virtual-reality
    solutions#azure
    solutions#omnichannel-commerce
    solutions#document-management
    solutions#enterprise-extranets-and-intranets
    solutions#business-intelligence
    solutions#enterprise-resource-planning
    services
    clients
    contact
    #
    #
    #
  
    #
    #
    #
    #
    #contactform
    #
    #
    #
    #
    #
    #
    #
    #
    # 
    #
    #
    #
    #
    #
    #
    index
    services
    #
    contact
    #
    iOSDevelopmentServices
    AndroidAppDevelopment
    WindowsAppDevelopment
    HybridSoftwareSolutions
    CloudServices
    HTML5Development
    iPadAppDevelopment
    services
    services
    services
    services
    services
    services
    contact
    contact
    contact
    contact
    contact
  
    #
    #
    #
    #
  </code></pre>
  
  <p>Now, I have to extract the CSS from these href links. For example, I have to extract the CSS from the 'index' href link which I've obtained in the output. Please suggest me.</p>