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