更精确的有码无码处理

This commit is contained in:
lededev
2022-04-17 23:36:41 +08:00
parent 0e0b92a9fa
commit c94ef3cf4a
6 changed files with 13 additions and 14 deletions

View File

@@ -60,7 +60,7 @@ def get_year(lx: html.HtmlElement) -> str:
def get_outline(lx: html.HtmlElement, number: str, title: str) -> str:
o = lx.xpath("//div[@class='movie-info section']/p[@itemprop='description']/text()")[0].strip()
g = getStoryline(number, title)
g = getStoryline(number, title, 无码=True)
if len(g):
return g
return o