I have been trying to download the below link using the script, however after chapter 30~ or so, I get an error. I'm not sure if it is specific to this one fic or that if it could reproducible in other fics.
File "leech.py", line 159, in
cli()
File "C:\Users\kerem\AppData\Local\Programs\Python\Python38-32\lib\site-packages\click\core.py", line 764, in call
return self.main(args, kwargs)
File "C:\Users\kerem\AppData\Local\Programs\Python\Python38-32\lib\site-packages\click\core.py", line 717, in main
rv = self.invoke(ctx)
File "C:\Users\kerem\AppData\Local\Programs\Python\Python38-32\lib\site-packages\click\core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "C:\Users\kerem\AppData\Local\Programs\Python\Python38-32\lib\site-packages\click\core.py", line 956, in invoke
return ctx.invoke(self.callback, ctx.params)
File "C:\Users\kerem\AppData\Local\Programs\Python\Python38-32\lib\site-packages\click\core.py", line 555, in invoke
return callback(args, **kwargs)
File "leech.py", line 152, in download
story = open_story(site, url, session, login, options)
File "leech.py", line 103, in open_story
story = handler.extract(url)
File "C:\Users\kerem\Desktop\leech-master\sites\fictionlive.py", line 67, in extract
choice = segment['choices'][int(choice)]
IndexError: list index out of range
PS C:\Users\kerem\Desktop\leech-master>
I have been trying to download the below link using the script, however after chapter 30~ or so, I get an error. I'm not sure if it is specific to this one fic or that if it could reproducible in other fics.
Link : https://fiction.live/stories/Repeater/rBsmtKRh9L938fxZA
Error :
File "leech.py", line 159, in
cli()
File "C:\Users\kerem\AppData\Local\Programs\Python\Python38-32\lib\site-packages\click\core.py", line 764, in call
return self.main(args, kwargs)
File "C:\Users\kerem\AppData\Local\Programs\Python\Python38-32\lib\site-packages\click\core.py", line 717, in main
rv = self.invoke(ctx)
File "C:\Users\kerem\AppData\Local\Programs\Python\Python38-32\lib\site-packages\click\core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "C:\Users\kerem\AppData\Local\Programs\Python\Python38-32\lib\site-packages\click\core.py", line 956, in invoke
return ctx.invoke(self.callback, ctx.params)
File "C:\Users\kerem\AppData\Local\Programs\Python\Python38-32\lib\site-packages\click\core.py", line 555, in invoke
return callback(args, **kwargs)
File "leech.py", line 152, in download
story = open_story(site, url, session, login, options)
File "leech.py", line 103, in open_story
story = handler.extract(url)
File "C:\Users\kerem\Desktop\leech-master\sites\fictionlive.py", line 67, in extract
choice = segment['choices'][int(choice)]
IndexError: list index out of range
PS C:\Users\kerem\Desktop\leech-master>