marians / cologne-ris-scraper

A python-based scraper for the Ratsinformationssystem (RIS) of Cologne, Germany
14 stars 4 forks source link

Abbruch in get_session_details(): 'NoneType' object is unsubscriptable #13

Closed marians closed 11 years ago

marians commented 11 years ago

Dieser Fehler bringt den Scraper aktuell zum Ausstieg:

Lade Sitzung 10560 http://ratsinformation.stadt-koeln.de/to0040.asp?__ksinr=10560
Traceback (most recent call last):
  File "scrape.py", line 880, in <module>
    scrape_sessions(years, months)
  File "scrape.py", line 791, in scrape_sessions
    get_session_details(session_id)
  File "scrape.py", line 150, in get_session_details
    if date_time['datum'] is not None:
TypeError: 'NoneType' object is unsubscriptable

Könnte es am Komma am Ende des Datums liegen?