mirror of
https://github.com/wassname/FanFicFare.git
synced 2026-10-05 12:20:46 +08:00
Convert base_efiction_adapter to BS4.
This commit is contained in:
1 parent
dde2876d5d
commit
4a5dce3a65
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user