diff --git a/jobs/Referrers.py b/jobs/Referrers.py index d1dd403..1ad744c 100644 --- a/jobs/Referrers.py +++ b/jobs/Referrers.py @@ -10,5 +10,5 @@ class Referrers(Job) : regex = r"^.+$" super().__init__(name, data, filename, redis_host=redis_host, type=type, regex=regex, copy_cache=copy_cache) - def __edit(self, chunk) : + def _Job__edit(self, chunk) : return chunk.replace(b".", b"%.").replace(b"-", b"%-") diff --git a/jobs/UserAgents.py b/jobs/UserAgents.py index 162a0b3..10f3959 100644 --- a/jobs/UserAgents.py +++ b/jobs/UserAgents.py @@ -10,5 +10,5 @@ class UserAgents(Job) : regex = r"^.+$" super().__init__(name, data, filename, redis_host=redis_host, type=type, regex=regex, copy_cache=copy_cache) - def __edit(self, chunk) : + def _Job__edit(self, chunk) : return chunk.replace(b"\\ ", b" ").replace(b"\\.", b"%.").replace(b"\\\\", b"\\").replace(b"-", b"%-")