This commit is contained in:
parent
12a9a3d5ac
commit
dc942589fd
|
@ -241,7 +241,7 @@ MAILTO_URL = r'^mailto:(?:[\w._.]+@[\w._.]+)$'
|
||||||
|
|
||||||
REDDIT_SUBREDDIT_URL = r'^(?:https?:\/\/)?(?:old\.)?reddit\.com\/r\/([\w-]+)\/?$'
|
REDDIT_SUBREDDIT_URL = r'^(?:https?:\/\/)?(?:old\.)?reddit\.com\/r\/([\w-]+)\/?$'
|
||||||
REDDIT_USER_URL = (
|
REDDIT_USER_URL = (
|
||||||
r'^(?:https?:\/\/)?(?:old\.)?reddit\.com\/user\/([\w-]+)(?:|\/submitted)\/?$'
|
r'^(?:https?:\/\/)?(?:old\.|www\.)?reddit\.com\/user\/([\w-]+)(?:|\/submitted)\/?$'
|
||||||
)
|
)
|
||||||
TWITTER_HANDLE_URL_1 = re_social_path_adv('twitter.com', RE_ID, RE_ANY_SUBPATH)
|
TWITTER_HANDLE_URL_1 = re_social_path_adv('twitter.com', RE_ID, RE_ANY_SUBPATH)
|
||||||
TWITTER_HANDLE_URL_2 = re_social_path_adv('x.com', RE_ID, RE_ANY_SUBPATH)
|
TWITTER_HANDLE_URL_2 = re_social_path_adv('x.com', RE_ID, RE_ANY_SUBPATH)
|
||||||
|
|
|
@ -54,6 +54,11 @@ PARSABLE_SOCIAL_IDS_COMBINED: list[tuple[str, object, str]] = [
|
||||||
SocialSiteId.REDDIT_USER,
|
SocialSiteId.REDDIT_USER,
|
||||||
'Harpsibored',
|
'Harpsibored',
|
||||||
),
|
),
|
||||||
|
(
|
||||||
|
'https://www.reddit.com/user/Harpsibored',
|
||||||
|
SocialSiteId.REDDIT_USER,
|
||||||
|
'Harpsibored',
|
||||||
|
),
|
||||||
# Ko-fi formats
|
# Ko-fi formats
|
||||||
('https://ko-fi.com/A627LI1/shop/', SocialSiteId.KO_FI, 'A627LI1'),
|
('https://ko-fi.com/A627LI1/shop/', SocialSiteId.KO_FI, 'A627LI1'),
|
||||||
('https://ko-fi.com/A627LI1/shop', SocialSiteId.KO_FI, 'A627LI1'),
|
('https://ko-fi.com/A627LI1/shop', SocialSiteId.KO_FI, 'A627LI1'),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user