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

Real chapter number of Webtoon comic #2591

Closed
arisboch opened this issue May 14, 2022 · 3 comments
Closed

Real chapter number of Webtoon comic #2591

arisboch opened this issue May 14, 2022 · 3 comments

Comments

@arisboch
Copy link

Sometimes, chapter numbers as given in the URL aren't the same as given on the website itself (e.g. first chapter of Punderworld starts at 3).

@lil-poppy
Copy link

Seems to work as intended. The script queries the url for episode_no, and that is 3 for the first episode, and 46 for the last (although it's titled 42). And i mean the actual url, and not the page title: https://www.webtoons.com/en/challenge/punderworld/ep-1-long-way-up/viewer?title_no=312584&episode_no=3

@arisboch
Copy link
Author

arisboch commented May 14, 2022

The script should (also) query the real chapter numbersScreenshot_2022-05-14-22-31-36~2.jpg

mikf added a commit that referenced this issue May 19, 2022
The number from the 'episode_no' query parameter
got renamed to 'episode_no'.
@mikf
Copy link
Owner

mikf commented May 27, 2022

Fixed in v1.22.0 (86cbf48).

The correct episode number is now available as episode and the old and potentially wrong episode number taken from the chapter URL is now called episode_no (similar to title_no which is also from the chapter URL).

On another note: Getting the real episode number depends on the webtoon title not containing a , as it gets taken from the keywords list:

<meta name="keywords" content="Punderworld, 36, happy earth day!  , Fantasy, WEBTOON" />

Let me know if that causes any problems.

@mikf mikf closed this as completed May 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants