From 2a7c2b50959f60b8c494b3bb5a7c7aa76efd64ff Mon Sep 17 00:00:00 2001 From: yoshiko2 Date: Fri, 28 May 2021 03:16:42 +0800 Subject: [PATCH] Fix search fuction for javdb source #2 --- WebCrawler/javdb.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/WebCrawler/javdb.py b/WebCrawler/javdb.py index 1d87f1b..7c600af 100644 --- a/WebCrawler/javdb.py +++ b/WebCrawler/javdb.py @@ -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