So... this works quite well. Too well, one might say. I was scrolling through the images it downloaded and I reach number 47/48 and saw it was still downloading. Turns out it was currently downloading image 73... I really don't have much use for images past 52, and anything more than 60 is probably excessive. So if anyone finds this fix, don't let it run and walk away or something.
Viewing post in Waifu Solitaire - Lewd Edition comments
Ah right. I think it downloads number of pages instead of number of images, which is kind of dumb ^^.
For a fix add
if ($match_count -gt 52) { break }
after the line
"$match_count = ($match_count + 1);"
This should stop the loop after downloading 52 images. If there are too few images, just up the number in the if.
Hope that helps.
Don't know if it helps, but when going over the script I found a few more possible problems + I thought it was a bit slow, so I made it faster.
If that does not help, where do you see the errors? If you also see the errors, when you only start the game (not my script), then something in there is going wrong and I can't change that. Sorry.
I really hope that this is still open but I've been trying for an embarrasing amount of time to get this to work. The powershell doesns't isntantly kill itself, and I got to the part where it makes sure I know what I'm talking about with choosing 1 thourhg 9 but in the end it still tells me
IndexError: List index out of range
What do I do about this?