Closed anna-s-h closed 1 week ago
same here
Same here.
When i m using the compiled version, it works fine (except for the f1 and f2, but the source code version just keeps giving me a 403 error, no matter what i try.
well okay, nvm, seems like it just started working again.
What i just tried was once again, changing the language on pixiv to japanese, and also in PixivBrowserFactory.py on lines 351 from
https://www.pixiv.net/en
to https://www.pixiv.net
and on 372 from https://www.pixiv.net/
to https://www.pixiv.net
@4n0nh4x0r Would you be willing to share your compiled files for those struggling to understand how to use Python? There's unfortunately no guide on how to do this.
@icedstick Well for one, idk, would feel kinda sketchy to upload the exe file lol secondly, i actually didnt compile it into an exe as i honestly have no idea on how to do that (i once knew how to do that, but i havent programmed in python in quite a while, and as such, didnt do that ever since)
The fix really is just
and that's it then it should work, at least it did for me
to run the program, just open the folder in your cmd/terminal
in windows you can do very easily
shift + right click
python PixivUtil2.py
and hit enterNote, you need to have python installed to begin with, for that just go to their website https://www.python.org/downloads/ (side note, it is always best to open the links yourself on the actual website rather than clicking on links provided by others as that limits the chance that someone could scam you)
And from here on, have fun, it should work now, and most importantly, f1 and f2 should work aswell now
@4n0nh4x0r Thanks for replying to me 🙂. I tried doing the steps above and received the following error:
This was after manually downloading module "demjson3.py" to rectify an error received that this file was missing. I am unable to proceed. I couldn't successfully find where to download the mechanize module it is looking for. 😞
@icedstick
With Python installed, open a Powershell window.
Use the following command to navigate to your PixivUtil2-master directory: cd Z:\PixivUtil2-master
Use the following command to install all of the requirements from requirements.txt (which includes the "mechanize" module you're missing): pip install -r requirements.txt
@blue-popsicle Thank you, this is the furthest I've gotten so far! I now receive the following errors now that I can run "python PixivUtil2.py":
I have triple-checked that everything login details and cookie-wise is entered correctly. Any ideas on how to rectify these errors?
@icedstick that is the error i got while pixiv was set to english for me.
it worked after setting it to japanese.
yea, no clue why, but the language of the site is important, probably some api change that is only applied on a certain language...
if that doesnt work, make sure you also have the cloudflare token set in your config.
@blue-popsicle & @4n0nh4x0r THANK YOU!!! I replaced the cookie values in config.ini after placing pixiv and fanbox websites into japanese and used firefox to retrieve the cf_clearance token that doesn't appear in chrome. It is working for me now! Thank your for laying it out for a newbie like me to follow.
I don't use fanbox, and already made those changes before the update, plus confirmed that they were there after the update. I have also set my language to japanese the only thing that's missing is the cf_clearance but I was under the impression that was just for fanbox I am running this with linux by python, not exe (I guess I could try wine or something...)
I found out that my problem was that I had to log out manually and log back in in japanese to refresh the cookie. I can now log in.
I was hoping Pixiv would undo whatever change was causing it so I was just going to wait it out, but I am still having the issue from #1368 or #1352. I updated, changed my language and region to japanese, and recopied the cookie (I later realized it didn't change anyway).