diff options
author | jan <jan@ruken.pw> | 2016-09-30 23:16:19 (UTC) |
---|---|---|
committer | jan <jan@ruken.pw> | 2016-09-30 23:16:19 (UTC) |
commit | a6b37fa5e1bd505adfae4888896be2a3aa49ec3a (patch) | |
tree | 0a381e0533489a78758b1516680e274f5fd82216 /config.yml | |
parent | 361ea3a80a60bc6595a7a624b6cc5d71ddc8f6fc (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.yml | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -1,11 +1,25 @@ | |||
1 | sections: | 1 | sections: |
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 | ||