I just installed python, mplayer, beautifulsoup and sipie to run Sirius on my Ubuntu 10.04 machine. I followed some docs that seem straightforward, but am encountering some iss
Command Line:
$ pip install beautifulsoup4
$ pip install html5lib
Python 3:
from bs4 import BeautifulSoup
from urllib.request import urlopen
url = 'http://www.example.com'
page = urlopen(url)
soup = BeautifulSoup(page.read(), 'html5lib')
links = soup.findAll('a')
for link in links:
print(link.string, link['href'])