From 7bc667e3b9b24d7dadf852e2f5ef3d8dcaaada4f Mon Sep 17 00:00:00 2001 From: lededev Date: Sun, 24 Oct 2021 00:42:57 +0800 Subject: [PATCH] avsox.py: call translateTag_to_sc() --- WebCrawler/avsox.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WebCrawler/avsox.py b/WebCrawler/avsox.py index e38a452..c6e6f00 100644 --- a/WebCrawler/avsox.py +++ b/WebCrawler/avsox.py @@ -58,7 +58,7 @@ def getCover_small(html): return result def getTag(html): x = html.xpath('/html/head/meta[@name="keywords"]/@content')[0].split(',') - return x[2:] if len(x) > 2 else [] + return [translateTag_to_sc(i.strip()) for i in x[2:]] if len(x) > 2 else [] def getSeries(html): try: result1 = str(html.xpath('//span[contains(text(),"系列:")]/../span[2]/text()')).strip(" ['']")