Qqcf16426 commited on
Commit
0735932
1 Parent(s): 2081d8c

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +93 -0
README.md ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ tags:
5
+ - manga
6
+ - tags
7
+ - genres
8
+ - scraped
9
+ size_categories:
10
+ - 100K<n<1M
11
+ ---
12
+
13
+ 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.
14
+ 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.
15
+
16
+ <details>
17
+ <summary>SQL structure</summary>
18
+ I didnt try to make it a optimal strucure, but i tried to remove the redundancy of strings.
19
+
20
+ ### Info
21
+ ```sql
22
+ create table info
23
+ (
24
+ id serial primary key,
25
+ private_id int,
26
+ public_id bigint not null,
27
+ forum_id bigint not null,
28
+ url_key text not null,
29
+ url_name text,
30
+ titles text[] not null,
31
+ description text,
32
+ image_name text,
33
+ typ int not null,
34
+ year int,
35
+ latest_chapter integer not null,
36
+ rating integer not null,
37
+ bayesian_rating float,
38
+ genres int[] not null,
39
+ tags int[] not null,
40
+ tags_upvotes int[] not null,
41
+ tags_downvotes int[] not null,
42
+ tags_uploader bigint[] not null,
43
+ status text,
44
+ licensed boolean not null,
45
+ completed boolean not null,
46
+ author int[] not null,
47
+ artist int[] not null,
48
+ publisher_original int[] not null,
49
+ publisher_english int[] not null,
50
+ publication text[] not null,
51
+ publication_publisher int[] not null,
52
+ relations text[] not null,
53
+ anime_start text,
54
+ anime_end text,
55
+ last_updated_mu TIMESTAMP,
56
+ last_updated TIMESTAMP not null,
57
+ created TIMESTAMP not null
58
+ );
59
+ ```
60
+ ### Types
61
+ ```sql
62
+ create table if not exists mtypes
63
+ (
64
+ id serial primary key,
65
+ name text not null
66
+ );
67
+ ```
68
+ ### Genres
69
+ ```sql
70
+ create table if not exists genres
71
+ (
72
+ id serial primary key,
73
+ name text not null
74
+ );
75
+ ```
76
+ ### Tags
77
+ ```sql
78
+ create table if not exists tags
79
+ (
80
+ id serial primary key,
81
+ name text not null
82
+ );
83
+ ```
84
+ ### People
85
+ ```sql
86
+ create table if not exists ppl
87
+ (
88
+ id serial primary key,
89
+ mu_id bigint,
90
+ name text not null
91
+ );
92
+ ```
93
+ </details>