Skip to content

Commit

Permalink
Fix for lightnovelpub.com
Browse files Browse the repository at this point in the history
  • Loading branch information
zerty authored and ebausson committed Aug 11, 2023
1 parent 06e1e6a commit aca5e6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lncrawl/templates/novelpub.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

logger = logging.getLogger(__name__)

digit_regex = re.compile(r"page-(\d+)$")
digit_regex = re.compile(r"page[-,=](\d+)")


class NovelPubTemplate(SearchableBrowserTemplate, ChapterOnlyBrowserTemplate):
Expand Down

0 comments on commit aca5e6a

Please sign in to comment.