From 979c63ae5865f12de0d64e65b8ac98b301becb89 Mon Sep 17 00:00:00 2001 From: yoshiko2 Date: Fri, 3 Feb 2023 03:40:48 +0800 Subject: [PATCH] Fix: func getActors return list in pisplay --- scrapinglib/pissplay.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scrapinglib/pissplay.py b/scrapinglib/pissplay.py index 9298250bc..4a779eab0 100644 --- a/scrapinglib/pissplay.py +++ b/scrapinglib/pissplay.py @@ -72,9 +72,9 @@ def getActors(self, htmltree) -> list: tags = self.getTreeAll(htmltree, self.expr_tags) if 'Guests' in tags: if tags[0] == 'Collaboration' or tags[0] == 'Toilet for a Day' or tags[0] == 'Collaboration': - return tags[1] + return [tags[1]] else: - return tags[0] + return [tags[0]] else: return 'Bruce and Morgan'