diff options
-rwxr-xr-x | 9kwpyqt.py | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -90,9 +90,11 @@ class ExtendedQLabel(QLabel): # Which type of captcha is this image? if PixelInfo(self.imageB.pixel(90, 45)).isExactly(0,0,0) and \ PixelInfo(self.imageB.pixel( 5, 30)).isHigher(220,220,220) and \ - PixelInfo(self.imageB.pixel(71, 30)).isHigher(220,220,220) and \ PixelInfo(self.imageB.pixel(40, 5)).isHigher(220,220,220) and \ - PixelInfo(self.imageB.pixel(40, 59)).isHigher(220,220,220): + (PixelInfo(self.imageB.pixel(58, 30)).isHigher(220,220,220) or \ + PixelInfo(self.imageB.pixel(71, 30)).isHigher(220,220,220)) and \ + (PixelInfo(self.imageB.pixel(40, 59)).isHigher(220,220,220) or \ + PixelInfo(self.imageB.pixel(40, 60)).isHigher(220,220,220)): self.captchaType = 1 elif PixelInfo(self.imageB.pixel( 16, 47)).isLower(20,20,20) and \ PixelInfo(self.imageB.pixel(144, 47)).isLower(20,20,20) and \ |