Download new illust from bookmarked members failed
I tried to change the password and update cookies several times, it didn't work.
I can open bookmark_new_illust.php without errors in the browser, but the dumped Html file is incomplete.
Download by member_id or image_id is fine. maybe like #859, it mentioned
updating the cookie string back to the old cookie format used by pixiv,
but i don't know what is "the old cookie format".
Could anyone give me some hints?
dumped file screen shot.
Steps to Reproduce
git clone repo and pip install packages
set username, password, cookie and refresh_token.
./PixivUtil2.py -s 8
Expected behavior: [What you expected to happen]
Download something
Actual behavior: [What actually happened]
Source URL: https://www.pixiv.net/bookmark_new_illust.php?p=1
Error at process_new_illust_from_bookmark(): (<class 'AttributeError'>, AttributeError("'NoneType' object has no attribute 'findAll'"), <traceback object at 0xffff81276480>)
Traceback (most recent call last):
File "/home/zxc/PixivUtil2/./PixivUtil2.py", line 1431, in main
np_is_valid, op_is_valid, selection = main_loop(ewd, op_is_valid, selection, np_is_valid, args, options)
File "/home/zxc/PixivUtil2/./PixivUtil2.py", line 1133, in main_loop
menu_download_new_illust_from_bookmark(op_is_valid, args, options)
File "/home/zxc/PixivUtil2/./PixivUtil2.py", line 612, in menu_download_new_illust_from_bookmark
PixivBookmarkHandler.process_new_illust_from_bookmark(sys.modules[__name__],
File "/home/zxc/PixivUtil2/PixivBookmarkHandler.py", line 123, in process_new_illust_from_bookmark
pb = PixivNewIllustBookmark(parsed_page)
File "/home/zxc/PixivUtil2/PixivBookmark.py", line 108, in __init__
self.__ParseNewIllustBookmark(page)
File "/home/zxc/PixivUtil2/PixivBookmark.py", line 126, in __ParseNewIllustBookmark
result = page.find(attrs={'class': '_image-items autopagerize_page_element'}).findAll('a')
AttributeError: 'NoneType' object has no attribute 'findAll'
Unknown Error, please check the log file: (<class 'AttributeError'>, AttributeError("'NoneType' object has no attribute 'findAll'"), <traceback object at 0xffff8145bd80>)
press enter to exit.
Prerequisites
Description
Download new illust from bookmarked members failed I tried to change the password and update cookies several times, it didn't work. I can open bookmark_new_illust.php without errors in the browser, but the dumped Html file is incomplete. Download by member_id or image_id is fine. maybe like #859, it mentioned
but i don't know what is "the old cookie format".
Could anyone give me some hints?
dumped file screen shot.
Steps to Reproduce
Expected behavior: [What you expected to happen] Download something Actual behavior: [What actually happened]
Versions
PixivDownloader2 version 20210822