Update 1.2.2p3
This commit is contained in:
parent
a26685bb72
commit
66b186a9a9
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user