Sleazy Fork is available in English.

Image Webinfo

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

Autor
wklchris
Installationen heute
0
Installationen gesamt
10
Bewertungen
0 0 0
Version
1.1.0
Erstellt am
31.07.2024
Letzte Aktualisierung
08.08.2024
Lizenz
MIT
Wird angewandt auf

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