Update 1.2.2p3

This commit is contained in:
wonipapa 2017-09-18 09:44:53 +09:00 committed by GitHub
parent a26685bb72
commit 66b186a9a9

View File

@ -584,7 +584,7 @@ def GetEPGFromHcn(ChannelInfo):
html_data = response.content html_data = response.content
data = html_data data = html_data
strainer = SoupStrainer('li') 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 '' html = soup.find_all('li') if soup.find_all('li') else ''
if(html) : if(html) :
for row in html: for row in html: