mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-01-03 06:34:04 +01:00
adapter_webnovelcom: Unescape & too. See #825
This commit is contained in:
parent
bdeb2a80f7
commit
a67dd3d7b0
1 changed files with 1 additions and 1 deletions
|
|
@ -227,7 +227,7 @@ class WWWWebNovelComAdapter(BaseSiteAdapter):
|
|||
data = data[:data.index(end_marker)]
|
||||
|
||||
# unescape a bunch of stuff that json lib chokes on.
|
||||
data = re.sub(r"\\([ /<>'])",r"\1",data)
|
||||
data = re.sub(r"\\([ /<>'&])",r"\1",data)
|
||||
# logger.debug("\n"+data)
|
||||
|
||||
ch_json = json.loads(data)
|
||||
|
|
|
|||
Loading…
Reference in a new issue