fix tapas episode image retrieval

This commit is contained in:
bakatrouble 2019-03-31 23:38:35 +03:00
parent f00577060c
commit 30987b37b6

View File

@ -46,7 +46,7 @@ class TapasFeedModuleConfig(FeedModuleConfig):
headers={'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64; rv:67.0) Gecko/20100101 Firefox/67.0'},
).text, 'html.parser')
imgs = []
for img in esoup.select(f'#episodes [data-eid={eid}] .art-image'):
for img in esoup.select(f'#episode-{eid} .art-image'):
imgs.append(img['src'])
if len(imgs) == 1: