Fix QQ [NSFW] tagsfromtitle.

This commit is contained in:
Jim Miller
2015-09-29 13:15:32 -05:00
parent 5bc5c85248
commit 37a084a699
2 changed files with 16 additions and 6 deletions
+8 -3
View File
@@ -392,12 +392,17 @@ forumtags_label:Tags from Forum
add_to_include_metadata_pre:
# only keep tagsfromtitle with ( or [ in.
tagsfromtitle=~[\[\(]
## disable chapter range in title because of tagsfromtitle processing.
title_chapter_range_pattern:
add_to_replace_metadata:
# for QuestionableQuesting NSFW subforum.
tagsfromtitle=>^\[NSFW\].*?([\(\[]([^\]\)]+)[\)\]]).*?$=>NSFW,\2
# remove anything outside () or []
tagsfromtitle=>^.*?([\(\[]([^\]\)]+)[\)\]]).*?$=>\1
tagsfromtitle=>^.*?([\(\[]([^\]\)]+)[\)\]]).*?$=>\2
# remove () []
tagsfromtitle=>[\(\)\[\]]=>
# tagsfromtitle=>[\(\)\[\]]=>
# change (spaces)slash(or semicolon)(spaces) to comma
tagsfromtitle=> *[/;] *=>,
tagsfromtitle=> [xX] =>,
+8 -3
View File
@@ -391,12 +391,17 @@ forumtags_label:Tags from Forum
add_to_include_metadata_pre:
# only keep tagsfromtitle with ( or [ in.
tagsfromtitle=~[\[\(]
## disable chapter range in title because of tagsfromtitle processing.
title_chapter_range_pattern:
add_to_replace_metadata:
# for QuestionableQuesting NSFW subforum.
tagsfromtitle=>^\[NSFW\].*?([\(\[]([^\]\)]+)[\)\]]).*?$=>NSFW,\2
# remove anything outside () or []
tagsfromtitle=>^.*?([\(\[]([^\]\)]+)[\)\]]).*?$=>\1
tagsfromtitle=>^.*?([\(\[]([^\]\)]+)[\)\]]).*?$=>\2
# remove () []
tagsfromtitle=>[\(\)\[\]]=>
# tagsfromtitle=>[\(\)\[\]]=>
# change (spaces)slash(or semicolon)(spaces) to comma
tagsfromtitle=> *[/;] *=>,
tagsfromtitle=> [xX] =>,