jensb89 / trakt---letterboxd-import

Import Letterboxd movie list (diary) into trakt.tv

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make this script also work with the watched.csv?

kellertuer opened this issue · comments

Hi there,
thanks very much for this nice script! I already imported my diary. Could you adapt this script or provide a second one to also upload the watched.csv? I' getting the error

Traceback (most recent call last):
File "py-trakt-letterboxd-import.py", line 185, in
data = get_data_letterboxd_diary(letterboxd_file[0])
File "py-trakt-letterboxd-import.py", line 115, in get_data_letterboxd_diary
data.append([row[1],row[2],row[6]+' 20:15',imdbid])
IndexError: list index out of range`

and i think it's due to a missing element [6], because of course the watched ones not necessarily have a date when they have been watched by me.

The import of the watched.csv can now be used by adding the --watched option, I updated the readme as well :)