adapter_webnovelcom: Unescape & too. See #825

This commit is contained in:
Jim Miller 2022-04-13 13:53:25 -05:00
parent bdeb2a80f7
commit a67dd3d7b0

View file

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