From 29a96a1baf2ec8254fe9a1b26fe0c9907ae071c2 Mon Sep 17 00:00:00 2001 From: todoXu Date: Tue, 19 Dec 2023 03:36:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Djavdb=20serial=E5=88=AE?= =?UTF-8?q?=E5=89=8A=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/javdb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/javdb.py b/web/javdb.py index 60d0002cd..b4c08e7fe 100644 --- a/web/javdb.py +++ b/web/javdb.py @@ -167,7 +167,7 @@ def parse_data(movie: MovieInfo): movie.publisher = publisher_tag[0].getnext().text_content().strip() serial_tag = info.xpath("div/strong[text()='系列:']") if serial_tag: - movie.serial = serial_tag[0].getnext().text + movie.serial = serial_tag[0].getnext().text_content().strip() score_tag = info.xpath("//span[@class='score-stars']") if score_tag: score_str = score_tag[0].tail @@ -219,7 +219,7 @@ def parse_clean_data(movie: MovieInfo): pretty_errors.configure(display_link=True) logger.root.handlers[1].level = logging.DEBUG - movie = MovieInfo('FC2-238629') + movie = MovieInfo('JUQ-471') try: parse_clean_data(movie) print(movie)