Pixiv Downloader 20101202

UPDATED 20101202b


  • Add option for always checking the local filesize. Set “alwaysCheckFileSize” to True
  • 20101202b: Add bug fix mentioned by Ivan for handling suspended user.

Download link here, and source is here. Updated link here, source here.

Feel free to post correction or new functionality to add 😛

Update: readme file in here, full changelog in here.

30 thoughts on “Pixiv Downloader 20101202”

  1. in my case constant changed:
    PIXIV_CSS_LIST_ID = ‘display_works linkStyleWorks’
    but then parseMediumImage return empty page after div class=centeredNavi

  2. This error, every time:

    Error at processMember(): (, AttributeError(“‘NoneType’ object has no attribute ‘findAll'”,), )
    Traceback (most recent call last):
    File “PixivUtil2.py”, line 819, in main
    processMember(mode, member_id)
    File “PixivUtil2.py”, line 370, in processMember
    linkList = parseList.find(‘div’, PixivConstant.PIXIV_CSS_LIST_ID).findAll(‘a’)
    AttributeError: ‘NoneType’ object has no attribute ‘findAll’
    press enter to exit.

    I’m using Ubuntu 10.04 & Python 2.6.5

      1. I got this error when I left it logged in overnight and tried to use it the next day. It also produced this error message on its error page:


        I’m not actually sure but maybe its using a time-sensitive Javascript that invalidates cookies when it doesn’t run for too long.

        1. Yes crust, pixiv sets the login cookie to expire in 60 minutes.

          何だか: yep; I’ve even tried using deprecated versions, but I still get the same problem. Therefore, the fault probably lies on my end. If I knew anything about Python (or programming in general) I might be able to help myself, but…

          1. expire if there is no activity or just expire even there is activity? usually cookie won’t be expired if there is any request to the web server (it will be updated for each http request)?

  3. Pixiv recently implemented an “original size” for each page of Manga mode images. Would you be able to incorporate this into the code?

  4. If you were to add any features in the future here’s a wish list.

    1. Gathers IDs from your favourites list.
    2. Makes new dir for images in manga mode
    3. An option for checking for updates/new images from artists in favourites list.

  5. This is an awesomely useful program, but any hope of a GUI? I admire people who can handle it, but all the raw code makes my eyes cross, and building new download lists takes me forever. I dream of something where I can just paste in a gallery URL and associate it with a folder and everything just works from there.

    Aside from that, would it be possible to have it grab the profile, background,and ‘ws’ images associated with a gallery while it’s grabbing everything else? Or for it to save the images with the server-side modification dates, like the DownThemAll! plug-in on Firefox? Kinda esoteric, I know, but I’ve found it to be handy.

    1. nope, no gui, only console app. But if you want to code it, I can help you (tough I haven’t tried to code any python gui)

      >> profile, background, ws…
      why you want that info? and what is ‘ws’

      >> server-side mod date
      I can look for this.

  6. I’m getting a weird problem with this version. It’s downloading images, but I don’t see them in my folder, where the heck are they? I never had this problem before, so I don’t know what’s wrong.

  7. Would it be possible to make a new dir for when it’s downloading from Manga mode?

  8. Man just started using this awesome bit of kit but is there something like a help/how to anywhere?

    1. oops, forgot to add the readme.txt, I’ll upload it later or you can get it from the previous release.
      Update: add the readme and changelog, check the post.

  9. What is it?
    When i download image appears “raw” need to press Enter to start loading.

    href: bookmark_detail.php?mode=s_tag&illust_id=14812632
    href: member_illust.php?mode=medium&illust_id=14786597
    Image #11
    Image id: 14786597
    Processing Image Id: 14786597

    I need to press Enter to start loading this image and following so as this.

  10. When i download “Berserk” pictures pixivdownloader write me this:
    Processing Image Id: 9777195
    There is an error: шй▓х╜УуГжуГ╝уВ╢уГ╝уБоуВвуВлуВжуГ│уГИуБпхБЬцнвуБХуВМуБжуБДуБ╛у
    C:UsersH4rD0r3DesktoppixivPixivUtil2.exe:451: UnicodeWarning: Unicode equal
    comparison failed to convert both arguments to Unicode – interpreting them as b
    eing unequal
    Error at processImage(): (, IndexError(‘list index
    out of range’,), )
    Error at processTags(): (, IndexError(‘list index
    out of range’,), )
    Traceback (most recent call last):
    File “PixivUtil2.py”, line 838, in main
    File “PixivUtil2.py”, line 670, in processTags
    File “PixivUtil2.py”, line 462, in processImage
    IndexError: list index out of range
    press enter to exit.

    What’s wrong?

    1. apparently the image you want to get is already deleted/suspended when I try to check it manually (it show 該当ユーザーのアカウントは停止されています。, meaning: This user account has been suspended.), I need to add detection if the user already suspended from pixiv.

      thanks for let me know.

      1. No problem, I have long wanted to write about it.
        I hope that with time you will manage to solve this error.
        Thanks for your work 🙂

Comments are closed.