You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could not get proper encoding for response body for Cyrillic chars. The website is in Bulgarian, and when using the browser - everything's perfect. But when using the cheerio scraper (httpRequest/got) - html is not encoded properly.
Could not get proper encoding for response body for Cyrillic chars. The website is in Bulgarian, and when using the browser - everything's perfect. But when using the cheerio scraper (httpRequest/got) - html is not encoded properly.
Here's the example page: https://www.imot.bg/pcgi/imot.cgi?act=5&adv=2b157484078874523&slink=51kk4i&f1=1
Tried using
iconv
, return the buffer and convert using various encodings but with no luck.Any ideas how could be actually handle this? Despite this is an edge case obviously, it seems that it could happen from time to time.
The text was updated successfully, but these errors were encountered: