update scrapinglib

- 优化提取extrafanart,trailer等,直接使用xpath expr,不需要正则匹配
- 优化 getchu 获取cover方法,直接使用og标签信息
- 优化 www.getchu 识别 getchu-id 的资源
- 统一获取 tag 方法,返回值 list
This commit is contained in:
Mathhew
2022-06-15 14:23:49 +08:00
parent eed33408a8
commit 0dda035057
16 changed files with 107 additions and 218 deletions

View File

@@ -106,13 +106,13 @@ class Fanza(Parser):
return self.getFanzaStrings('ジャンル:')
def getLabel(self, htmltree):
ret = self.getFanzaStrings('レーベル')
ret = self.getFanzaString('レーベル')
if ret == "----":
return ''
return ret
def getSeries(self, htmltree):
ret = self.getFanzaStrings('シリーズ:')
ret = self.getFanzaString('シリーズ:')
if ret == "----":
return ''
return ret