mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-05-08 12:36:11 +02:00
Convert base_efiction_adapter to BS4.
This commit is contained in:
parent
dde2876d5d
commit
4a5dce3a65
1 changed files with 1 additions and 1 deletions
|
|
@ -387,7 +387,7 @@ class BaseEfictionAdapter(BaseSiteAdapter):
|
|||
key = labelSpan.string.strip()
|
||||
|
||||
## strip trailing line breaks
|
||||
valueStr = re.sub("<br />", "", valueStr)
|
||||
valueStr = re.sub("<br/>", "", valueStr)
|
||||
|
||||
## strip trailing colons
|
||||
key = re.sub("\s*:\s*$", "", key)
|
||||
|
|
|
|||
Loading…
Reference in a new issue