Danbooru

Uploading from Nico Nico Seiga Manga

Posted under General

Our guidelines are clear for uploads from Nicoseiga: use the Danbooru bookmarklet when possible, or failing that use a direct image url from the lohas.nicoseiga.jp backend, making sure to avoid accidentally uploading a thumbnail sample.

Unfortunately these guidelines only work for the Nico Nico illustrations section; they fail utterly when dealing with the manga section (hosted under seiga.nicovideo.jp/comic/). Bookmarklets fail to work, and only thumbnail samples (hosted under lohas.nicoseiga.jp/thumb/) are available for view on the page (at least for the scrolling manga format). I can't seem to find any links to the full-resolution image even when viewing the webpage source.

I believe the same issue was faced by some of the uploaders for the Super Heroine Boy and Precarious Woman Executive Miss Black General series, as the pages sourced from Nico Nico Manga are also thumbnails (and tagged such).

So, to sum it all up, does anyone know how to obtain the original images from comics hosted on the manga (/comic/) section* of Nicoseiga? Thanks in advance.

(*Not to be confused with the illustrations section hosted under /seiga/)

Updated

I'm not aware of a simpler way to upload the full image from Nico Manga, but you can do it by using the https://seiga.nicovideo.jp/image/source/* URL.

Take this comic page for example. To obtain its full-res version, open the image in a new tab, where it will show the thumbnail link: https://lohas.nicoseiga.jp/thumb/8947170p?1549489722
Then, copy the first set of number (8947170) and paste them into the link above (https://seiga.nicovideo.jp/image/source/8947170), it will load the full image that can be uploaded with the bookmarklet. The source link should be fixed to the comic page afterwards.

Nitrogen09 said:

I'm not aware of a simpler way to upload the full image from Nico Manga, but you can do it by using the https://seiga.nicovideo.jp/image/source/* URL.

Take this comic page for example. To obtain its full-res version, open the image in a new tab, where it will show the thumbnail link: https://lohas.nicoseiga.jp/thumb/8947170p?1549489722
Then, copy the first set of number (8947170) and paste them into the link above (https://seiga.nicovideo.jp/image/source/8947170), it will load the full image that can be uploaded with the bookmarklet. The source link should be fixed to the comic page afterwards.

Many thanks!

Edit: So, accessing the image works, but the bookmarklet still fails with the following error message:

ActionView::Template::Error exception raised

nico seiga api call failed (code=404, body=<?xml version="1.0" encoding="UTF-8"?> <response />)

    app/logical/nico_seiga_api_client.rb:37:in `illust_xml'
    app/logical/nico_seiga_api_client.rb:16:in `user_id'
    app/logical/nico_seiga_api_client.rb:43:in `artist_xml'
    app/logical/nico_seiga_api_client.rb:28:in `moniker'
    app/logical/sources/strategies/nico_seiga.rb:86:in `artist_name'
    app/views/sources/_info.html.erb:12:in `_app_views_sources__info_html_erb___2028538793142371862_47066943791040'
    app/views/uploads/new.html.erb:16:in `_app_views_uploads_new_html_erb__1726287990514805882_47066967622720'
    app/controllers/uploads_controller.rb:12:in `new'

Pasting the source in manually still works, but once uploaded it will then throw up the following error whenever the tags are edited:

nico seiga api call failed (code=404, body= )

It's a 404 error, so I think Danbooru is parsing it as a normal 'illustrations' page and requesting the wrong (and nonexistent) page from Nicoseiga. In a related manner, the automated direct source URL -> HTML conversion will also point to a nonexistent 'im' page (format: seiga.nicovideo.jp/seiga/im[NUMBER STRING]), as though it's a Nico Nico illustration.

Modifying the source post-upload as per 'standard' practice to the appropriate HTML manga page (format: seiga.nicovideo.jp/watch/mg[NUMBER STRING]) will cause another api call error:

nico seiga api call failed (code=400, body= 画像IDが入力されていません )

A 400 (Bad Request) error, with an error message of "No image ID specified."

The above can be seen in action in post #3409370.

Updated

1