Closed idMysteries closed 4 weeks ago
self.cleaner.bad_tag_text_pairs.update(
{
'a': r"(PREVIOUS CHAPTER)|(CHAPTER LIST)|(NEXT CHAPTER)",
'p': r"(FOLLOW / LIKE / SUBSCRIBE)|(FOLLOW AND LIKE THIS BLOG)"
+"|(SUBSCRIBE and LIKE)|(SUBSCRIBE AND LIKE)|(Please donate any "
+"amount to support our group!)|(Please donate to support our group!)",
}
)
Oh wait... I'm stupid
bad_tag_text_pairs
self.cleaner.bad_tag_text_pairs.update(
{
"a": r"""(PREVIOUS CHAPTER)
|(CHAPTER LIST)
|(NEXT CHAPTER)""",
"p": r"""(FOLLOW / LIKE / SUBSCRIBE)
|(FOLLOW AND LIKE THIS BLOG)
|(SUBSCRIBE and LIKE)
|(SUBSCRIBE AND LIKE)
|(Please donate any amount to support our group!)
|(Please donate to support our group!)""",
}
)
ahahahahah i'm sooooo stupid...
Ammm your code also don't work
@idMysteries
Let's try this regex:
((PREVIOUS|NEXT) CHAPTER|CHAPTER LIST)
(FOLLOW / LIKE / SUBSCRIBE|FOLLOW AND LIKE THIS BLOG|SUBSCRIBE [Aa][Nn][Dd] LIKE|Please donate( any amount)? to support our group\!)
For the last one, if don't work, then add the backslash\
before the slash/
.
(FOLLOW \/ LIKE \/ SUBSCRIBE|FOLLOW AND LIKE THIS BLOG|SUBSCRIBE [Aa][Nn][Dd] LIKE|Please donate( any amount)? to support our group\!)
Ammm your code also don't work
fixed
do I understand correctly that if there is a "Next" in the text, then it will delete this text? It's a terrible thing.