import text not html
This commit is contained in:
parent
97006b0b3e
commit
84c15c690a
3 changed files with 15 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ from ox.cache import get_json, store
|
|||
import ox.web.google
|
||||
import stdnum.isbn
|
||||
|
||||
from .utils import find_isbns, get_language
|
||||
from .utils import find_isbns, get_language, decode_html_data
|
||||
|
||||
import logging
|
||||
logger = logging.getLogger(__name__)
|
||||
|
|
@ -84,5 +84,6 @@ def info(key, value):
|
|||
data['publisher'] = [data['publisher']]
|
||||
if 'language' in _data:
|
||||
data['language'] = [get_language(_data['language'])]
|
||||
data = decode_html_data(data)
|
||||
return data
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue