update scrapinglib
- support specifiedUrl when scraping single movie - support javlibrary and rating
This commit is contained in:
@@ -50,10 +50,14 @@ class Avsox(Parser):
|
||||
def getSmallCover(self, htmltree):
|
||||
""" 使用搜索页面的预览小图
|
||||
"""
|
||||
return self.getTreeElement(self.searchtree, self.expr_smallcover)
|
||||
try:
|
||||
return self.getTreeElement(self.searchtree, self.expr_smallcover)
|
||||
except:
|
||||
self.imagecut = 1
|
||||
return ''
|
||||
|
||||
def getTags(self, htmltree):
|
||||
tags = self.getTreeElement(htmltree).split(',')
|
||||
tags = self.getTreeElement(htmltree, self.expr_tags).split(',')
|
||||
return [i.strip() for i in tags[2:]] if len(tags) > 2 else []
|
||||
|
||||
def getOutline(self, htmltree):
|
||||
|
||||
Reference in New Issue
Block a user