mangaupdates / README.md
GriddleDean's picture
Create README.md
bf07b15 verified
metadata
language:
  - en
tags:
  - manga
  - tags
  - genres
  - scraped
size_categories:
  - 100K<n<1M

I scraped mangaupdates for a project and i am sharing the data. There is a tar file which contians the json response from every infos entry. I parsed it and added it to a postgres database. The pgdump was uploaded too. There are some entries that do not exist anymore. It can be found in the removed ids json.

SQL structure I didnt try to make it a optimal strucure, but i tried to remove the redundancy of strings.

Info

 create table info
 (
   id                 serial primary key,
   private_id         int,
   public_id          bigint    not null,
   forum_id           bigint    not null,
   url_key            text      not null,
   url_name           text,
   titles             text[] not null,
   description        text,
   image_name         text,
   typ                int       not null,
   year               int,
   latest_chapter     integer   not null,
   rating             integer   not null,
   bayesian_rating    float,
   genres             int[] not null,
   tags               int[] not null,
   tags_upvotes       int[] not null,
   tags_downvotes     int[] not null,
   tags_uploader      bigint[] not null,
   status             text,
   licensed           boolean   not null,
   completed          boolean   not null,
   author             int[] not null,
   artist             int[] not null,
   publisher_original int[] not null,
   publisher_english  int[] not null,
   publication  text[] not null,
   publication_publisher  int[] not null,
   relations       text[] not null,
   anime_start text,
   anime_end text,
   last_updated_mu    TIMESTAMP,
   last_updated       TIMESTAMP not null,
   created            TIMESTAMP not null
 );

Types

create table if not exists mtypes
(
   id   serial primary key,
   name text not null
);

Genres

create table if not exists genres
(
   id   serial primary key,
   name text not null
);

Tags

create table if not exists tags
(
   id   serial primary key,
   name text not null
);

People

create table if not exists ppl
(
   id    serial primary key,
   mu_id bigint,
   name  text not null
);