kemayo / leech

Turn a story on certain websites into an ebook for convenient reading
MIT License
157 stars 24 forks source link

Using a content_title_selector causes a crash #25

Closed vehystrix closed 5 years ago

vehystrix commented 5 years ago

Then using a content_title_selector in combination with an arbitrary site causes a crash.

The issue seems to be in sites/arbitrary.py on line 114: title = title[0].string should be changed to title = title_element[0].string

kemayo commented 5 years ago

So it should! Thanks for pointing that out.