Fix search fuction for javdb source #2

This commit is contained in:
yoshiko2
2021-05-28 03:16:42 +08:00
parent 047da6baa8
commit 2a7c2b5095

View File

@@ -293,8 +293,7 @@ def main(number):
'series': getSeries(detail_page),
}
except Exception as e:
print(e)
except Exception:
dic = {"title": ""}
js = json.dumps(dic, ensure_ascii=False, sort_keys=True, indent=4, separators=(',', ':'), ) # .encode('UTF-8')
return js