Technology
The Dormouse's story
Once upon a time there were three little sisters; and their names wereElsie,Lacie andTillie;and they lived at the bottom of a well.
...
"""'''# Get the html from the web.f = urllib.request.urlopen('https://en.wikiquote.org/wiki/Aristotle')# Load the html into the parser.soup = BeautifulSoup(f.read(), 'html.parser')# Show the whole raw # print(soup.prettify())# Access a single element.# print(soup.title)# Find all a tags in the html doc and print some information.links = soup.find_all('a')for link in links: print(link.get('href'))print(len(links))links:https://docs.python.org/3/library/urllib.request.htmlhttps://www.crummy.com/software/BeautifulSoup/bs4/doc/Subscribe to the podcast on apple podcasts, google play, stitchermattsite: http://octon.io/github: https://github.com/mmdempseyeddyizmsite: http://eddyizm.comtwitter: http://twitter.com/eddyizmgithub: https://github.com/eddyizmperrygithub: https://github.com/apk29---**youtube live broadcast:**https://youtube.com/user/eddyizm/liveSubscribe to our channel and follow my twitter feed to be notified of our next live broadcast and feel free to leave us comments and suggestions on what you want to see.