aboutsummaryrefslogtreecommitdiff
path: root/config.yml
diff options
context:
space:
mode:
authorjan <jan@ruken.pw>2016-09-30 23:16:19 (UTC)
committerjan <jan@ruken.pw>2016-09-30 23:16:19 (UTC)
commita6b37fa5e1bd505adfae4888896be2a3aa49ec3a (patch)
tree0a381e0533489a78758b1516680e274f5fd82216 /config.yml
parent361ea3a80a60bc6595a7a624b6cc5d71ddc8f6fc (diff)
parsen von traits und tags, wir koennen den configkram eigentlich wieder komplett entfernen. klappt so nicht wirklich.
Diffstat (limited to 'config.yml')
-rw-r--r--config.yml16
1 files changed, 15 insertions, 1 deletions
diff --git a/config.yml b/config.yml
index 07b5d03..313d8e2 100644
--- a/config.yml
+++ b/config.yml
@@ -1,11 +1,25 @@
1sections: 1sections:
2 name: 2 name:
3 pattern: (?is)Romaji Name.*?<TD>(.*?)\s?</TD>.*?Japanese Name.*?<TD>(.*?)\s?</TD> 3 pattern: (?is)Romaji Name.*?<TD>(.*?)\s?</TD>.*?Japanese Name.*?<TD>(.*?)\s?</TD>.*?Aliases.*?<TD>(.*?)\s?</TD>
4 groups: 4 groups:
5 - romaji 5 - romaji
6 - japanese 6 - japanese
7 - aliases
8 misc:
9 pattern: (?is)Role</TH>.*?<TD>(.*?)\s?</TD>
10 groups:
11 - role
7 image: 12 image:
8 pattern: (?is)<H3 id="section99">.*<img src="(.*?)" alt=.*?></a><p><a href="(.*?)">View Full Size Image 13 pattern: (?is)<H3 id="section99">.*<img src="(.*?)" alt=.*?></a><p><a href="(.*?)">View Full Size Image
9 groups: 14 groups:
10 - thumb 15 - thumb
11 - full 16 - full
17 tags:
18 pattern: (?is)tagged as</P>.*?<TH>(.*?)</TH>
19 groups:
20 - tags_raw
21 traits:
22 pattern: (?is)indexed traits</P>.*?<dl>(.*?)</dl>.*?official traits\s?</P>.*?<dl>(.*?)</dl>
23 groups:
24 - indexed_raw
25 - official_raw