Reduced dependence on BeautifulSoup

This commit is contained in:
Luke Rogers 2011-11-21 00:06:09 +13:00
parent 6f37dfa9bc
commit 74af39e455
1 changed files with 0 additions and 6 deletions

View File

@ -9,7 +9,6 @@ import urlparse
from urllib import quote, quote_plus as _quote_plus
from urllib2 import HTTPError, URLError
from BeautifulSoup import BeautifulSoup
from lxml import etree, html
@ -31,11 +30,6 @@ def get(*args, **kwargs):
def get_html(*args, **kwargs):
return html.fromstring(get(*args, **kwargs))
def get_soup(*args, **kwargs):
return BeautifulSoup(get(*args, **kwargs))
def get_xml(*args, **kwargs):
return etree.fromstring(get(*args, **kwargs))