mirror of
https://github.com/anatolykopyl/dochunt.git
synced 2026-03-26 21:04:43 +00:00
🐛 Made search term "all" work
This commit is contained in:
@@ -6,4 +6,4 @@ import requests
|
||||
def detect(url):
|
||||
response = requests.get(url)
|
||||
img = Image.open(io.BytesIO(response.content))
|
||||
return pytesseract.image_to_string(img).lower()
|
||||
return pytesseract.image_to_string(img, lang='rus', timeout=30).lower()
|
||||
|
||||
Reference in New Issue
Block a user