itchio
itchio copied to clipboard
Add Games in bundle to library does not work
root@ca48796d249d:/# itch-load-bundle
Username: [email protected]
Password:
Bundle URL: http://itch.io/bundle/download/4T80AvOSA70gkpyUhMNhaaghCbEY7J0DAJjWaWZd
Traceback (most recent call last):
File "/usr/local/bin/itch-load-bundle", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.10/site-packages/itchiodl/bundle_tool/__main__.py", line 13, in main
b.load_games()
File "/usr/local/lib/python3.10/site-packages/itchiodl/bundle.py", line 17, in load_games
pages = int(s.select("span.pager_label a")[-1].text)
IndexError: list index out of range
root@ca48796d249d:/#
Did I use the Program as intended, or is this actually an issue?
It works as intended on my machine, are you running this on a datacenter IP (either a VPS or VPN) as I think it likes to block people when they do that
It's running on the official python docker image on my local machine without any vpn.
That's weird, can you try in a venv, just as there may be weird docker shenangins going on.
https://docs.python.org/3/library/venv.html
I tried it inside the official python docker with a venv. Same issue. I'll try it in a vm next.
The outcome of running it on my Manjaro Laptop:
The issue seems to not be caused by Docker after all.
it works on the latest version on my machine. how many pages is the bundle page?
It has 34 pages (998 items)
can you manually check the class names in your browser, as my only thought is it could be an i18n issue or similar