Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v0.2.3] Feature/support new html format #6

Merged
merged 2 commits into from
Sep 22, 2024

Conversation

kairi003
Copy link
Owner

「小説家になろう」のHTML構造の変更に対応

Close #4

.index_box -> .p-eplist
.subtitle a -> a.p-eplist__subtitle
.long_update -> .p-eplist__update
.novelview_pager-next -> .c-pager__item--next
.novelview_pager-last -> .c-pager__item--last
chapter_title -> p-eplist__chapter-title
novel_sublist2 -> p-eplist__sublist

"<div id=\"novel_a\" class=\"novel_view\">\n([\\s\\S]+?)</div>" -> "<div class=\"js-novel-text p-novel__text p-novel__text--afterword\">\n([\\s\\S]+?)</div>"
"<div id=\"novel_p\" class=\"novel_view\">\n([\\s\\S]+?)</div>" -> "<div class=\"js-novel-text p-novel__text p-novel__text--preface\">\n([\\s\\S]+?)</div>"
"<p class=\"novel_subtitle\">(.+?)</p>" -> "<h1 class=\"p-novel__title p-novel__title--rensai\">(.+?)</h1>"
"<div id=\"novel_honbun\" class=\"novel_view\">\n([\\s\\S]+?)</div>" -> "<div class=\"js-novel-text p-novel__text\">\n([\\s\\S]+?)</div>"

@kairi003 kairi003 merged commit 882d526 into master Sep 22, 2024
@kairi003 kairi003 deleted the feature/support-new-html-format branch September 22, 2024 10:09
Copy link
Owner Author

@kairi003 kairi003 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

checked

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

キャッシュの取得に失敗する
1 participant