feat(novelpia): handle rate limit
This commit is contained in:
parent
9b6fd24f88
commit
1c89435723
|
@ -62,6 +62,8 @@ class NovelpiaParser:
|
|||
self.proc_episode_list_url,
|
||||
data={"novel_no": self.number, "page": page},
|
||||
)
|
||||
if not r.text:
|
||||
raise Exception("Rate limit")
|
||||
return r.text
|
||||
|
||||
def get_total_episode_list(self) -> Tuple[int, str]:
|
||||
|
|
Loading…
Reference in New Issue