-
Notifications
You must be signed in to change notification settings - Fork 258
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update PixivBrowserFactory.py * Update PixivModelFanbox.py * Update PixivBrowserFactory.py
- Loading branch information
1 parent
92e7275
commit e23e29c
Showing
2 changed files
with
43 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
e23e29c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pulled this for the purpose of downloading an artist's fanbox;
The tool does not succesfully run in this state. I don't know what the problem is, I'll just paste what the window outputs:
┌──────────────────────────────────────────────────────────┐
│ PixivDownloader2 version 20240703 │
│ https://github.com/Nandaka/PixivUtil2/releases │
│ Donate at https://bit.ly/PixivUtilDonation │
└──────────────────────────────────────────────────────────┘
Reading I:\pixiutilRepo\PixivUtil2\config.ini ...
Configuration loaded.
Using default DB Path: I:\pixiutilRepo\PixivUtil2\db.sqlite
Creating database... done.
Importing list... Found 6941 items done.
Updated 6941 items.
Only process members where the last update is >= 14 days ago
Username login is broken, use Cookies to log in.
See Q3. at https://github.com/Nandaka/PixivUtil2?tab=readme-ov-file#a-usage
Trying to log in with saved cookie
Error at doLogin(): (<class 'mechanize._response.get_seek_wrapper_class..httperror_seek_wrapper'>, <httperror_seek_wrapper (urllib.error.HTTPError instance) at 0x1edd575af30 whose wrapped object = <HTTPError 403: 'Forbidden'>>, <traceback object at 0x000001EDD57634C0>)
Traceback (most recent call last):
File "I:\pixiutilRepo\PixivUtil2\PixivUtil2.py", line 1527, in doLogin
result = br.loginUsingCookie()
^^^^^^^^^^^^^^^^^^^^^^^^^
File "I:\pixiutilRepo\PixivUtil2\PixivBrowserFactory.py", line 351, in loginUsingCookie
res = self.open_with_retry('https://www.pixiv.net') # + self._locale)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "I:\pixiutilRepo\PixivUtil2\PixivBrowserFactory.py", line 207, in open_with_retry
res = self.open(url, data, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\username\AppData\Local\Programs\Python\Python312\Lib\site-packages\mechanize_mechanize.py", line 257, in open
return self._mech_open(url_or_request, data, timeout=timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\username\AppData\Local\Programs\Python\Python312\Lib\site-packages\mechanize_mechanize.py", line 313, in _mech_open
raise response
mechanize._response.get_seek_wrapper_class..httperror_seek_wrapper: HTTP Error 403: Forbidden
Cannot Login!
press enter to exit.