mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-04-26 00:43:08 +02:00
Fix for base_efiction_adapter stories with spans w/o class attr.
This commit is contained in:
parent
03ceecd38f
commit
a28b8cb139
1 changed files with 1 additions and 1 deletions
|
|
@ -382,7 +382,7 @@ class BaseEfictionAdapter(BaseSiteAdapter):
|
|||
while nextEl is not None and not (\
|
||||
type(nextEl) is bs.Tag \
|
||||
and nextEl.name == "span" \
|
||||
and 'label' in nextEl.get('class',[]) \ # for spans without class
|
||||
and 'label' in nextEl.get('class',[]) \
|
||||
):
|
||||
## must string copy nextEl or nextEl will change trees
|
||||
if (type(nextEl) is bs.Tag):
|
||||
|
|
|
|||
Loading…
Reference in a new issue