1
0
Fork 0
mirror of https://github.com/kemayo/leech synced 2026-01-19 14:01:55 +01:00

Fix typo of title_element in arbitrary

Fixes #25
This commit is contained in:
David Lynch 2019-07-30 09:37:03 -05:00
parent f002064352
commit 532a7c6682

View file

@ -111,7 +111,7 @@ class Arbitrary(Site):
if definition.content_title_selector:
title_element = content.select(definition.content_title_selector)
if title_element:
title = title[0].string
title = title_element[0].string
if definition.content_text_selector:
# TODO: multiple text elements?