mirror of
https://github.com/dgtlmoon/changedetection.io.git
synced 2026-09-26 15:26:13 +00:00
testing CI
This commit is contained in:
@@ -265,8 +265,10 @@ class difference_detection_processor():
|
||||
# encode('utf-8') raises UnicodeEncodeError downstream in checksums, diffs, file writes, etc.
|
||||
# Covers all fetchers (requests, playwright, puppeteer, selenium) in one place.
|
||||
# See: https://github.com/dgtlmoon/changedetection.io/issues/3952
|
||||
if self.fetcher.content and isinstance(self.fetcher.content, str):
|
||||
self.fetcher.content = self.fetcher.content.encode('utf-8', errors='replace').decode('utf-8')
|
||||
|
||||
# DISABLED FOR NOW, TRY TO SEE IF THE TEST BREAKS ON GITHUB
|
||||
# if self.fetcher.content and isinstance(self.fetcher.content, str):
|
||||
# self.fetcher.content = self.fetcher.content.encode('utf-8', errors='replace').decode('utf-8')
|
||||
|
||||
# After init, call run_changedetection() which will do the actual change-detection
|
||||
|
||||
|
||||
Reference in New Issue
Block a user