Skip to content

Commit

Permalink
fix(crawler/sl): fix ocr
Browse files Browse the repository at this point in the history
  • Loading branch information
kkkrist committed Apr 3, 2021
1 parent 8869b92 commit 2058775
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/crawler/lib/sl.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ module.exports = () =>
.textContent.replace(/\u00A0/g, ' ')
),
tesseract.recognize(
dom.window.document.querySelector('div#read img').src
dom.window.document.querySelector('div#read img').src,
'deu'
)
])
)
Expand Down

0 comments on commit 2058775

Please sign in to comment.