reddit: add support for user post links & clean up (#484)
This commit is contained in:
@@ -16,7 +16,8 @@ export const testers = {
|
||||
patternMatch.id?.length <= 128 || patternMatch.shortLink?.length <= 32,
|
||||
|
||||
"reddit": (patternMatch) =>
|
||||
patternMatch.sub?.length <= 22 && patternMatch.id?.length <= 10,
|
||||
(patternMatch.sub?.length <= 22 && patternMatch.id?.length <= 10)
|
||||
|| (patternMatch.user?.length <= 22 && patternMatch.id?.length <= 10),
|
||||
|
||||
"rutube": (patternMatch) =>
|
||||
patternMatch.id?.length === 32 || patternMatch.yappyId?.length === 32,
|
||||
|
||||
Reference in New Issue
Block a user