AB1908 / GOG-Galaxy-Export-Script

Export your list of games from GOG Galaxy
MIT License
150 stars 27 forks source link

list index out of range #20

Closed toastmonster closed 4 years ago

toastmonster commented 4 years ago

Traceback (most recent call last): File "galaxy_library_export.py", line 52, in row['title'] = result[1].split('"')[3] IndexError: list index out of range

AB1908 commented 4 years ago

I think I ought to give up programming.

AB1908 commented 4 years ago

Weird, can't reproduce this one. Could you figure out where it fails? I'm assuming there's a game you have that has a double quote in it, which I honestly never expected. I originally thought of using regex to parse the title but eventually decided against it.

AB1908 commented 4 years ago

Adding a potential fix to the branch with your name. Try it out.

toastmonster commented 4 years ago

It is actually dropping a gameDB.csv file, and it looks complete to me. Maybe it doesn't like game titles with a comma in the name? gameDB.zip

AB1908 commented 4 years ago

Off topic but sweet lord what a collection. Nice :+1:.

AB1908 commented 4 years ago

Could you name which games have been dropped?

toastmonster commented 4 years ago

Sorry, I meant "dropped" as "created". It's creating the csv file.