Added URL helper to q. Getting social links from Boobpedia.
This commit is contained in:
@@ -177,6 +177,11 @@ function curateSocialEntry(url, actorId) {
|
||||
pattern: 'http(s)\\://(*)modelhub.com/:username(/)(?*)',
|
||||
format: username => `https://www.modelhub.com/${username}`,
|
||||
},
|
||||
{
|
||||
label: 'imdb',
|
||||
pattern: 'http(s)\\://(*)imdb.com/name/:userId(/)(?*)',
|
||||
format: userId => `https://www.imdb.com/name/${userId}/`,
|
||||
},
|
||||
];
|
||||
|
||||
const match = platforms.reduce((acc, platform) => {
|
||||
|
||||
Reference in New Issue
Block a user