Fix uncensored image processing
This commit is contained in:
@@ -20,6 +20,7 @@ class Carib(Parser):
|
||||
expr_outline = "//div[@class='movie-info section']/p[@itemprop='description']/text()"
|
||||
|
||||
def extraInit(self):
|
||||
self.imagecut = 1
|
||||
self.uncensored = True
|
||||
|
||||
def search(self, number):
|
||||
|
||||
@@ -253,8 +253,8 @@ class Parser:
|
||||
def getImagecut(self, htmltree):
|
||||
""" 修正 无码poster不裁剪cover
|
||||
"""
|
||||
if self.imagecut == 1 and self.getUncensored(htmltree):
|
||||
self.imagecut = 0
|
||||
# if self.imagecut == 1 and self.getUncensored(htmltree):
|
||||
# self.imagecut = 0
|
||||
return self.imagecut
|
||||
|
||||
def getUserRating(self, htmltree):
|
||||
|
||||
Reference in New Issue
Block a user