From 8818a86ddeee7ccb21461cfc7b4eca16dddaeef4 Mon Sep 17 00:00:00 2001 From: Felipe Bueno Aliski Alves <147082629+Magos-Technicus@users.noreply.github.com> Date: Fri, 6 Dec 2024 14:10:40 -0300 Subject: [PATCH 1/2] Update centralnovel.py this way will limit the request rate to 3 and thus, make the software work on this site --- sources/pt/centralnovel.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sources/pt/centralnovel.py b/sources/pt/centralnovel.py index b532fbb20..5e68c828e 100644 --- a/sources/pt/centralnovel.py +++ b/sources/pt/centralnovel.py @@ -8,3 +8,6 @@ class CentralNovelCrawler(MangaStreamTemplate): base_url = ["https://centralnovel.com/"] + +def initialize(self) -> None: + self.init_executor(ratelimit=2.99) From 5cfd555cb4ae08561f55143deacd20555534f917 Mon Sep 17 00:00:00 2001 From: Sudipto Chandra Date: Sat, 7 Dec 2024 09:48:47 +0400 Subject: [PATCH 2/2] Update centralnovel.py --- sources/pt/centralnovel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/pt/centralnovel.py b/sources/pt/centralnovel.py index 5e68c828e..0e457ac39 100644 --- a/sources/pt/centralnovel.py +++ b/sources/pt/centralnovel.py @@ -9,5 +9,5 @@ class CentralNovelCrawler(MangaStreamTemplate): base_url = ["https://centralnovel.com/"] -def initialize(self) -> None: + def initialize(self) -> None: self.init_executor(ratelimit=2.99)