Skip to content

Commit

Permalink
Merge pull request #2388 from zGadli/add-source
Browse files Browse the repository at this point in the history
Add source
  • Loading branch information
dipu-bd authored Jun 14, 2024
2 parents f27714f + 3b6d48a commit a261e75
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 4 additions & 1 deletion sources/en/n/novel-bin.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,7 @@
class Novel_Bin(NovelFullTemplate):
has_mtl = False
has_manga = False
base_url = ["https://novel-bin.com/"]
base_url = ["https://novel-bin.com/", "https://novelbin.me"]

def initialize(self) -> None:
self.init_executor(ratelimit=1)
4 changes: 3 additions & 1 deletion sources/zh/69shuba.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,14 @@ class sixnineshu(Crawler):
"https://www.69shuba.com/",
"https://www.69shu.com/",
"https://www.69xinshu.com/",
"https://www.69shu.pro/"
"https://www.69shu.pro/",
"https://www.69shuba.pro/"
]

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)

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

0 comments on commit a261e75

Please sign in to comment.