Skip to content

Fehler beim Scrapen einer Vorlage mit über- und untergeordneten Vorlagen (Köln) #23

Description

@marians

Beim Scrapen von http://ratsinformation.stadt-koeln.de/vo0050.asp?__kvonr=31832 tritt dieser Fehler auf:

Submission 523a07de44cf2b2f92ac4758 updated
Traceback (most recent call last):
  File "main.py", line 150, in <module>
    scraper.work_from_queue()
  File "/home/ok/offeneskoeln2/scrape-a-ris/risscraper/scraper.py", line 79, in work_from_queue
    self.get_submission(submission_id=job['key'])
  File "/home/ok/offeneskoeln2/scrape-a-ris/risscraper/scraper.py", line 493, in get_submission
    for link in tds[n + 1].xpath('a'):
IndexError: list index out of range

Das hat offensichtlich damit zu tun, dass es da untergeordnete Vorlagen gibt.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions