Skip to content

Webtoons: ERROR: list index out of range #408

Description

@scouchman

Is webtoons in general not working? I only get a couple of them but get the same issues:

dosage -v AlloyComics


WebToons/AlloyComics> ERROR: list index out of range                                                                                                       
                      Traceback (most recent call last):                                                                                                   
                        File "/home/me/.local/share/pipx/venvs/dosage/lib64/python3.13/site-packages/dosagelib/director.py", line 115, in _getStrips    
                          for strip in scraperobj.getStrips(numstrips):                                                                                    
                                       ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^                                                                                     
                        File "/home/me/.local/share/pipx/venvs/dosage/lib64/python3.13/site-packages/dosagelib/scraper.py", line 171, in getStrips      
                          urls = [self.starter()]                                                                                                          
                                  ~~~~~~~~~~~~^^                                                                                                           
                        File "/home/me/.local/share/pipx/venvs/dosage/lib64/python3.13/site-packages/dosagelib/plugins/webtoons.py", line 30, in starter
                          currentEpisode = self.match(listPage, '//div[d:class("detail_lst")]/ul/li')[0].attrib['data-episode-no']                         
                                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^                                                   
                      IndexError: list index out of range          

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions