File size: 2,375 Bytes
0735932
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
---
language:
- en
tags:
- manga
- tags
- genres
- scraped
size_categories:
- 100K<n<1M
---

I scraped [mangaupdates](https://www.mangaupdates.com) 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.

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

  ### Info
 ```sql
  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
 ```sql
 create table if not exists mtypes
(
    id   serial primary key,
    name text not null
);
  ```
### Genres
 ```sql
create table if not exists genres
(
    id   serial primary key,
    name text not null
);
  ```
### Tags
 ```sql
create table if not exists tags
(
    id   serial primary key,
    name text not null
);
  ```
### People
 ```sql
create table if not exists ppl
(
    id    serial primary key,
    mu_id bigint,
    name  text not null
);
  ```
</details>