12 thoughts on “pixiv downloader 20130430”

  1. A new problem, but it occured only once.

    Dump are here: http://demo.ovh.com/fr/584600e5863d21c044670cf2857652b3/

    Log:
    2013-05-07 17:59:45,112 – PixivUtil20130430 – ERROR – Error at downloadImage(): Cannot save http://i2.pixiv.net/img12/img/lozelia/4471908.jpg to D:UsersWhinettePicturesPixiv139789 若代 (lozelia)4471908 – 「にゃっ♪、にゃっ♪」 「ん~♪」.jpg (, IOError(22, “invalid mode (‘wb+’) or filename”), )
    2013-05-07 17:59:45,114 – PixivUtil20130430 – INFO – File is saved to 4471908.jpg
    2013-05-07 17:59:47,410 – PixivUtil20130430 – ERROR – Error at processImage(): (, IOError(22, “invalid mode (‘wb’) or filename”), )
    2013-05-07 17:59:47,410 – PixivUtil20130430 – ERROR – Error at processImage(): 4471908
    Traceback (most recent call last):
    File “PixivUtil2.py”, line 729, in processImage
    File “PixivModel.pyc”, line 397, in WriteInfo
    File “codecs.pyc”, line 881, in open
    IOError: [Errno 22] invalid mode (‘wb’) or filename: u’D:\Users\Whinette\Pictures\Pixiv\139789 u82e5u4ee3 (lozelia)\4471908 – u300cu306bu3083u3063u266au3001u306bu3083u3063u266au300du3000u300cu3093uff5ex1fu266au300d.jpg.txt’
    2013-05-07 17:59:47,417 – PixivUtil20130430 – ERROR – Dumping html to: Error Big Page for image 4471908.html
    2013-05-07 17:59:47,421 – PixivUtil20130430 – ERROR – Dumping html to: Error Medium Page for image 4471908.html
    2013-05-07 17:59:47,427 – PixivUtil20130430 – ERROR – Unknown Error: [Errno 22] invalid mode (‘wb’) or filename: u’D:\Users\Whinette\Pictures\Pixiv\139789 u82e5u4ee3 (lozelia)\4471908 – u300cu306bu3083u3063u266au3001u306bu3083u3063u266au300du3000u300cu3093uff5ex1fu266au300d.jpg.txt’
    Traceback (most recent call last):
    File “PixivUtil2.py”, line 1542, in main
    File “PixivUtil2.py”, line 1212, in menuDownloadByImageId
    File “PixivUtil2.py”, line 729, in processImage
    File “PixivModel.pyc”, line 397, in WriteInfo
    File “codecs.pyc”, line 881, in open
    IOError: [Errno 22] invalid mode (‘wb’) or filename: u’D:\Users\Whinette\Pictures\Pixiv\139789 u82e5u4ee3 (lozelia)\4471908 – u300cu306bu3083u3063u266au3001u306bu3083u3063u266au300du3000u300cu3093uff5ex1fu266au300d.jpg.txt’

    1. This one is an IO error, can you create a folder with name:139789 若代 (lozelia) and file with name: 4471908 – 「にゃっ♪、にゃっ♪」 「ん~♪」.jpg. The downloaded file is saved to the application folder as 4471908.jpg

    2. This one is an IO error, can you create a folder with name:139789 若代 (lozelia) and file with name: 4471908 – 「にゃっ♪、にゃっ♪」 「ん~♪」.jpg. The downloaded file is saved to the application folder as 4471908.jpg.

    3. I’ll check about it.
      EDIT: Found the problem, the image title contains illegal/non-printable character. I think I need better file name sanitizer.

  2. I’m getting an error that looks like this:

    Traceback (most recent call last):
    File “PixivUtil2.py”, line 594, in processImage
    File “PixivUtil2.py”, line 224, in __init__
    File “PixivUtil2.py”, line 45, in __init__
    File “PixivUtil2.py”, line 62, in ParseInfo
    AttributeError: ‘NoneType’ object has no attribute ‘find’
    Error at processImage(): (, AttributeError(“‘NoneType’ object has no attribute ‘find'”,), )
    Dumping html to: Error Medium Page for image 35443168.html
    Error at processTags(): (, AttributeError(“‘NoneType’ object has no attribute ‘find'”,), )
    Traceback (most recent call last):
    File “PixivUtil2.py”, line 1544, in main
    File “PixivUtil2.py”, line 1240, in menuDownloadByTags
    File “PixivUtil2.py”, line 855, in processTags
    File “PixivUtil2.py”, line 594, in processImage
    File “PixivUtil2.py”, line 224, in __init__
    File “PixivUtil2.py”, line 45, in __init__
    File “PixivUtil2.py”, line 62, in ParseInfo
    AttributeError: ‘NoneType’ object has no attribute ‘find’
    press enter to exit.

    The readme says to comment about it, since I think it might be a parsing problem…?

    1. Maybe not. 😛
      Member ID (1016607): ‘Cannot parse artist token, possibly different image structure.’

      Do you want the dump?

      1. No, the member_id is enough, if you check the image list, all the thumbnails is on img-inf. I don’t expecting this, let me see what I can do.

Comments are closed.