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

@@ -76,11 +76,8 @@ def get_actor(lx: html.HtmlElement):
return r
def get_tag(lx: html.HtmlElement) -> str:
r = []
genres = lx.xpath("//span[@class='spec-content']/a[@itemprop='genre']/text()")
for g in genres:
r.append(translateTag_to_sc(str(g)))
return r
return genres
def get_extrafanart(lx: html.HtmlElement) -> str:
r = []