fix tapas episode image retrieval
This commit is contained in:
parent
f00577060c
commit
30987b37b6
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user