Skip to content

Commit

Permalink
Rate limit 69 shuba (#2403)
Browse files Browse the repository at this point in the history
  • Loading branch information
zGadli committed Jun 29, 2024
1 parent d80d6ce commit 29ab915
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/zh/69shuba.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class sixnineshu(Crawler):
def initialize(self):
# the default lxml parser cannot handle the huge gbk encoded sites (fails after 4.3k chapters)
self.init_parser("html.parser")
self.init_executor(ratelimit=3)
self.init_executor(ratelimit=20)

def search_novel(self, query):
query = urllib.parse.quote(query.encode("gbk"))
Expand Down

0 comments on commit 29ab915

Please sign in to comment.