Image Webinfo

Extract JSON-/string-style info from Pixiv/Booru image pages.

Versión del día 8/8/2024. Echa un vistazo a la versión más reciente.

Tendrás que instalar una extensión para tu navegador como Tampermonkey, Greasemonkey o Violentmonkey si quieres utilizar este script.

You will need to install an extension such as Tampermonkey to install this script.

Tendrás que instalar una extensión como Tampermonkey o Violentmonkey para instalar este script.

Necesitarás instalar una extensión como Tampermonkey o Userscripts para instalar este script.

Tendrás que instalar una extensión como Tampermonkey antes de poder instalar este script.

Necesitarás instalar una extensión para administrar scripts de usuario si quieres instalar este script.

(Ya tengo un administrador de scripts de usuario, déjame instalarlo)

Tendrás que instalar una extensión como Stylus antes de poder instalar este script.

Tendrás que instalar una extensión como Stylus antes de poder instalar este script.

Tendrás que instalar una extensión como Stylus antes de poder instalar este script.

Para poder instalar esto tendrás que instalar primero una extensión de estilos de usuario.

Para poder instalar esto tendrás que instalar primero una extensión de estilos de usuario.

Para poder instalar esto tendrás que instalar primero una extensión de estilos de usuario.

(Ya tengo un administrador de estilos de usuario, déjame instalarlo)

Autor
wklchris
Calificaciones
0 0 0
Versión
1.1.0
Creado
31/7/2024
Actualizado
8/8/2024
Tamaño
7,45 KB
Licencia
MIT
Funciona en

Image Webinfo

A Javascript extension to extract JSON-style info from the image board site webpages. It supports pixiv and booru.

Usage

Please not that the "Copy as string" doesn't copy all keys of the image info. Change the pixiv_str_keys and booru_str_keys variables in the script accordingly to customize.

Button locations:

  • Pixiv: In an artwork webapge, the Export Webinfo button can be found immediately under the Follow button (upperright).
  • Booru: In an artwork webpage, the Export Webinfo button can be found immediately under the Search box (upperleft).

Click the corresponding button, the image info JSON (or string) will be copied to clipboard. Copy format:

  • JSON string: Compatible with Python.
  • Pure string: Separated with tabs (\t) so that it can be directly pasted into spreadsheet or as tab-separated columns.

Output Examples

There are some examples. To include more keys in string copy, please customize the variables in the script as described in the Usage section.

  • Pixiv example:

    • Export to JSON:
    {"artist":"dmds","artist_id":"88079596","illust_id":"103650025","post_date":"2022-12-16","post_title":"バラバラな感情"}
    
    • Export to String (default keys):
    88079596    2022-12-16  バラバラな感情
    
  • Booru example

    • Export to JSON (with manual line split here for displaying):
    {"artists":"qys3","copyrights":"vocaloid","characters":"hatsune miku","general":"6+girls, :<, :t, > <,
    ahoge, aqua eyes, aqua hair, bowl, chibi, chopsticks, grin, holding with chopsticks, long hair,
    mini person, minigirl, multiple girls, nail polish, necktie, open mouth, simple background, skirt,
    smile, tears, thighhighs, twintails, very long hair, wavy mouth, white background",
    "booru_id":"3028108","rating_level":"General"}
    
    • Export to String (default keys):
    3028108 General