diff --git a/src/data.ts b/src/data.ts index 54791e0..b9258bc 100644 --- a/src/data.ts +++ b/src/data.ts @@ -4,7 +4,6 @@ export const defaultSocialiteNetworks = [ networks.facebook, networks.instagram, networks.linkedin, - networks.onlyfans, networks.reddit, networks.tiktok, networks.twitch, diff --git a/src/networks/onlyfans.ts b/src/networks/onlyfans.ts index 2649c3e..652015d 100644 --- a/src/networks/onlyfans.ts +++ b/src/networks/onlyfans.ts @@ -6,6 +6,8 @@ export const onlyfans: SocialiteNetwork = { preferredUrl: `https://onlyfans.com/${profileReplacement.user}`, matcher: { domain: /onlyfans/, + // Unless we want to qualify this with a `prefix`, + // we probably do not need to include the `user` prop. user: `[^\\/]+`, }, };