Convert base_efiction_adapter to BS4.

This commit is contained in:
Jim Miller 2015-12-08 22:34:37 -06:00
parent dde2876d5d
commit 4a5dce3a65

View file

@ -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)