From 66b186a9a984d26a8c8eae2234c2fb22d5221dbe Mon Sep 17 00:00:00 2001 From: wonipapa Date: Mon, 18 Sep 2017 09:44:53 +0900 Subject: [PATCH] Update 1.2.2p3 --- epg2xml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/epg2xml.py b/epg2xml.py index 0332007..9e28a7e 100644 --- a/epg2xml.py +++ b/epg2xml.py @@ -584,7 +584,7 @@ def GetEPGFromHcn(ChannelInfo): html_data = response.content data = html_data strainer = SoupStrainer('li') - soup = BeautifulSoup(data, htmlparser, parse_only=strainer, from_encoding='utf-8') + soup = BeautifulSoup(data, 'lxml', parse_only=strainer, from_encoding='utf-8') html = soup.find_all('li') if soup.find_all('li') else '' if(html) : for row in html: