skip to Main Content

To remove base url – Artificial Intelligence

I wrote a python script to extract the href value from all links on a given web page: 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'): print link.get('href') When I…

VIEW QUESTION
Back To Top
Search