Danbooru

Batch uploader's batching feature not working with pixiv (explanation inside)

Posted under Bugs & Features

Ok, so the title is a little wierd, but I don't really know what this feature is called. Basically, when you use the uploader on a page with multiple image (at least pixiv and twitter), it will generate upload pages for all the images on the page. For example, this page generated from a tweet with multiple images contains links to upload pages (like this one) for every image in the tweet. This is how it has always worked, and how I think it's supposed to work. Recently (I don't know when exactly), this feature no longer works with pixiv posts with multiple images. This pixiv post has two images, but the uploader only generates upload pages for each image individually (image 1 and image 2). I'm pretty sure this is a bug.

ygm_1 said:

Ok, so the title is a little wierd, but I don't really know what this feature is called. Basically, when you use the uploader on a page with multiple image (at least pixiv and twitter), it will generate upload pages for all the images on the page. For example, this page generated from a tweet with multiple images contains links to upload pages (like this one) for every image in the tweet. This is how it has always worked, and how I think it's supposed to work. Recently (I don't know when exactly), this feature no longer works with pixiv posts with multiple images. This pixiv post has two images, but the uploader only generates upload pages for each image individually (image 1 and image 2). I'm pretty sure this is a bug.

I'm not sure what you did but I just used the Batch Bookmarklet on the page you linked and got this, even using in after opening the batch I got this which is the same thing. If you mean the "Batch Upload" page on Danbooru you need to use it on this page instead to get both images.

Oh, i tried with just the image (maybe because that's how it works on twitter). Thanks for clearing that up.

Do you know how it works with the sort of manga-style pages? I tried this page from this post, but all I get is this:

ActionView::Template::Error exception raised

    Couldn't get illust ID from URL (https://www.pixiv.net/member_illust.php?mode=manga, )
    app/logical/sources/strategies/pixiv.rb:216:in `illust_id'
    app/logical/sources/strategies/pixiv.rb:274:in `metadata'
    app/logical/sources/strategies/pixiv.rb:162:in `image_urls_sub'
    app/logical/sources/strategies/pixiv.rb:46:in `image_urls'
    app/views/uploads/batch.html.erb:12:in `_app_views_uploads_batch_html_erb__2242058191356570915_47174351244920'
    app/controllers/uploads_controller.rb:17:in `batch'

(link)

The individual images work, but they don't batch up.

1