1. 动态加载爬虫
2. 修复pyinstaller路径查找子包问题 3. madou的番号处理移动到爬虫内部 4. 过滤javday中多余的tag
This commit is contained in:
@@ -210,6 +210,13 @@ class Parser:
|
||||
|
||||
def getTags(self, htmltree) -> list:
|
||||
alls = self.getTreeAll(htmltree, self.expr_tags)
|
||||
tags = []
|
||||
for t in alls:
|
||||
for tag in t.strip().split(','):
|
||||
tag = tag.strip()
|
||||
if tag:
|
||||
tags.append(tag)
|
||||
return tags
|
||||
return [ x.strip() for x in alls if x.strip()]
|
||||
|
||||
def getStudio(self, htmltree):
|
||||
|
||||
Reference in New Issue
Block a user