aboutsummaryrefslogtreecommitdiff
path: root/config.yml
diff options
context:
space:
mode:
authorjan <jan@ruken.pw>2016-09-30 12:30:31 (UTC)
committerjan <jan@ruken.pw>2016-09-30 12:30:31 (UTC)
commit361ea3a80a60bc6595a7a624b6cc5d71ddc8f6fc (patch)
treef25d133b1ff7cdac720af309144bf6b69eec801f /config.yml
parent4ff469246f420c5a91d2a25eab9c21421abd3de9 (diff)
jetzt werden die Sektionen aus einer config.yml rausgezogen.
Diffstat (limited to 'config.yml')
-rw-r--r--config.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/config.yml b/config.yml
new file mode 100644
index 0000000..07b5d03
--- /dev/null
+++ b/config.yml
@@ -0,0 +1,11 @@
1sections:
2 name:
3 pattern: (?is)Romaji Name.*?<TD>(.*?)\s?</TD>.*?Japanese Name.*?<TD>(.*?)\s?</TD>
4 groups:
5 - romaji
6 - japanese
7 image:
8 pattern: (?is)<H3 id="section99">.*<img src="(.*?)" alt=.*?></a><p><a href="(.*?)">View Full Size Image
9 groups:
10 - thumb
11 - full