1
0
Fork 0
mirror of https://github.com/kemayo/leech synced 2025-12-24 01:10:47 +01:00

Remove unneeded whitespace

This commit is contained in:
Alex Raubach 2018-08-28 23:24:59 -04:00 committed by GitHub
parent 97a2a8899a
commit 1bfc9b75f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -80,10 +80,10 @@ class Arbitrary(Site):
# Probably by changing it so that this returns a Chapter / Section.
logger.info("Extracting chapter @ %s", url)
soup = self._soup(url)
if not soup.select(definition.content_selector):
return ''
return ''
content = soup.select(definition.content_selector)[0]
if definition.filter_selector: