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

Older comics don't get scrapped #2

Open
Jzarecta opened this issue Nov 24, 2011 · 2 comments
Open

Older comics don't get scrapped #2

Jzarecta opened this issue Nov 24, 2011 · 2 comments

Comments

@Jzarecta
Copy link

I am trying to get a manga but seems the URL is different from others:
onemangadl -C 55 http://www.mangareader.net/kissxsis/55/16
Link given http://www.mangareader.net/kissxsis/55/16
Manga Found :http://www.mangareader.net/464/kissxsis.html
Total chapters: 50
Traceback (most recent call last):
File "/usr/local/bin/onemangadl", line 124, in
downld_manga(x,options.dir,chapter_range)
File "/usr/local/bin/onemangadl", line 74, in downld_manga
chpt_list=[chpt_list[x-1] for x in chapt]
IndexError: list index out of range

@siddhant3s
Copy link
Owner

That is because the script counts the chapter number from 1 and
continuously till the number of chapter. You will face this problem if
the chapters aren't numbered properly. Like in the given manga after
7, chapter 13 starts. Which is problematic. I didn't resolve this
issue because there is no direct way to map chapter number in order
with chapter's actual number.

@SkyDiploma
Copy link

Hey,
I was just checking out your code and noticed this. So I thought an alternative method of solving problems like these would be to allow downloads directly from the page. for Ex:

$ onemangadl -f http://www.mangareader.net/kissxsis/55/16

would forcefully download the 'chapter 55'. Check out my Repo I forked. If interested I will put in a Pull Request.

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

No branches or pull requests

3 participants