Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pixiv] it's not downloading an artwork #5435

Open
mmoisall opened this issue Apr 5, 2024 · 5 comments
Open

[pixiv] it's not downloading an artwork #5435

mmoisall opened this issue Apr 5, 2024 · 5 comments

Comments

@mmoisall
Copy link

mmoisall commented Apr 5, 2024

if i download this 'https://www.pixiv.net/users/56514424'
it doesnt down the lastest one. (https://www.pixiv.net/artworks/85960783)
Im not sure this happens to other user link too. As I tried other links were fine

C:\Users\xxxx>gallery-dl https://www.pixiv.net/users/56514424
# .\gallery-dl\pixiv - samoinu - 56514424\2020-09-06 112630 - samoinu - pixiv - 雨-0(84199360_p0).png
# .\gallery-dl\pixiv - samoinu - 56514424\2020-09-01 135800 - samoinu - pixiv - 9月-0(84093524_p0).png
# .\gallery-dl\pixiv - samoinu - 56514424\2020-08-27 124309 - samoinu - pixiv - 日周-0(83972265_p0).png
# .\gallery-dl\pixiv - samoinu - 56514424\2020-07-29 153509 - samoinu - pixiv - 夏-0(83314977_p0).png
# .\gallery-dl\pixiv - samoinu - 56514424\2020-07-24 025538 - samoinu - pixiv - おはよう。-0(83182542_p0).png
# .\gallery-dl\pixiv - samoinu - 56514424\2020-07-22 030945 - samoinu - pixiv - ⭐️-0(83137722_p0).png
# .\gallery-dl\pixiv - samoinu - 56514424\2020-07-21 115255 - samoinu - pixiv - 背景-0(83124871_p0).png
# .\gallery-dl\pixiv - samoinu - 56514424\2020-07-21 115255 - samoinu - pixiv - 背景-1(83124871_p1).png
# .\gallery-dl\pixiv - samoinu - 56514424\2020-07-21 115255 - samoinu - pixiv - 背景-2(83124871_p2).png
# .\gallery-dl\pixiv - samoinu - 56514424\2020-07-21 115255 - samoinu - pixiv - 背景-3(83124871_p3).png
# .\gallery-dl\pixiv - samoinu - 56514424\2020-07-21 115255 - samoinu - pixiv - 背景-4(83124871_p4).png

I tried deleting config option. it didnt work

    "pixiv": {
      "directory": [ "pixiv - {user[name]} - {user[id]}" ],
      "filename": "{date:%Y-%m-%d %H%M%S} - {user[name]} - pixiv - {title}-{num}({filename}).{extension}",
      "refresh-token": "xxxxxx",
      "ugoira": true,
      "postprocessors": [
        {
          "name": "ugoira",
          "extension": "webm",
          "ffmpeg-args": [ "-hide_banner", "-loglevel", "error", "-stats", "-pix_fmt", "yuv420p", "-g", "9999", "-aq-mode", "0", "-auto-alt-ref", "1", "-lag-in-frames", "25", "-c:v", "libvpx-vp9", "-flags", "global_header", "-movflags", "faststart", "-deadline", "good", "-threads", "1", "-b:v", "10M", "-an", "-sn", "-map", "0:v:0", "-map_metadata", "-1", "-map_chapters", "-1", "-y" ],
          "ffmpeg-twopass": true,
          "keep-files": true
        }
      ]

    }
@komoreshi
Copy link

komoreshi commented Apr 5, 2024

That artwork in particular returns the same sanity_level error as #5180 in verbose mode:

D:\Downloads> gallery-dl https://www.pixiv.net/en/artworks/85960783 --verbose
gallery-dl: Version 1.26.9
gallery-dl: Python 3.12.1 - Windows-10-10.0.19045-SP0
gallery-dl: requests 2.31.0 - urllib3 2.1.0
gallery-dl: Configuration Files ['%APPDATA%\\gallery-dl\\config.json']
gallery-dl: Starting DownloadJob for 'https://www.pixiv.net/en/artworks/85960783'
pixiv: Using PixivWorkExtractor for 'https://www.pixiv.net/en/artworks/85960783'
urllib3.connectionpool: Starting new HTTPS connection (1): app-api.pixiv.net:443
urllib3.connectionpool: https://app-api.pixiv.net:443 "GET /v1/illust/detail?illust_id=85960783 HTTP/1.1" 200 394
postprocessor.ugoira: using concat demuxer
pixiv: Active postprocessor modules: [UgoiraPP]
pixiv: Skipping 'sanity_level' warning (85960783)

Weirdly enough, create_date is "2024-04-05T13:33:00+09:00" for this artwork whereas the page itself says "November 28, 2020 8:33 PM". Might be Pixiv screwing around with the post(s) again?

D:\Downloads> gallery-dl https://www.pixiv.net/en/artworks/85960783 -K
Keywords for directory names:
-----------------------------
caption

category
  pixiv
comment_access_control
  0
create_date
  2024-04-05T13:33:00+09:00
date
  2024-04-05 04:33:00
...

@mmoisall
Copy link
Author

mmoisall commented Apr 6, 2024

very weird! wonder what i can try about this

@ReiFan49
Copy link

ReiFan49 commented Apr 13, 2024

from what I checked,

one of artwork I'm downloading are set at sanity_level 6.
and yes, the artwork page returns a dummy entry instead.

Edit:

Try checking with /ajax/illust/<ID>. It shows sl (sanity_level) value at 6 as well.

Edit 2:

I believe these artworks won't "show up even in the original app" if the work contains certain word.

@mmoisall
Copy link
Author

yes. it's actually not appearing in the pixiv official mobile app

@mikf mikf marked this as a duplicate and then as not a duplicate of #4328 Apr 19, 2024
@mikf
Copy link
Owner

mikf commented Apr 19, 2024

Duplicate of #4327

@mikf mikf marked this as a duplicate of #4327 Apr 19, 2024
mikf added a commit that referenced this issue Oct 4, 2024
(#4327, #4747, #5054, #5435, #5651, #5655)

Metadata should be ~95% identical (there might be some 'date' differences)
and there could be issues with R-18 works, as these require some URL
manipulation to transform /c/250x250_80_a2/ thumbnail URLs into
/img-original/ ones.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Pixiv Sanity Level
Development

No branches or pull requests

4 participants