Fix uncensored image processing

This commit is contained in:
yoshiko2
2022-09-09 01:38:02 +08:00
parent c5c55be846
commit 6f5c67d8f9
2 changed files with 3 additions and 2 deletions

View File

@@ -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):

View File

@@ -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):