Closed tateMode closed 7 years ago
From their github:
Yes, as per the Changelog, mechanize.Browser does not accept the factory argument anymore. All HTML parsing is done using html5lib.
If you are using v3.x, you need to manually remove the factory
parameter from https://github.com/Nandaka/PixivUtil2/blob/master/PixivBrowserFactory.py#L35
I need to check the compatibiliy before I've update the libs.
The script fails to start as per the error above. Tested with a fresh repository clone.
I run a Linux system and looking through my update log, I see that mechanize was recently updated from 0.2.5 to 0.3.1. Downgrading this package enabled the script to start up and log me in again. Haven't had a chance to test if the script can successfully download something after downgrading; there were a few other dependencies which recently received minor updates as well (numpy and imageio spring to mind).
Edit: Downloading still works after downgrading mechanize, so it's just mechanize that's the problem.