Delete all translate func in all WebCrawlers

This commit is contained in:
unknown
2021-11-06 22:49:19 +08:00
parent 0c4df0130b
commit 41f4743149
8 changed files with 16 additions and 51 deletions

View File

@@ -123,25 +123,12 @@ def getTag(text):
result = html.xpath(
"//td[contains(text(),'ジャンル:')]/following-sibling::td/a/text()"
)
total = []
for i in result:
try:
total.append(translateTag_to_sc(i))
except:
pass
return total
return result
except:
result = html.xpath(
"//td[contains(text(),'ジャンル:')]/following-sibling::td/text()"
)
total = []
for i in result:
try:
total.append(translateTag_to_sc(i))
except:
pass
return total
return result
return result
def getCover(text, number):