Added actor expand button to profile.
This commit is contained in:
@@ -177,11 +177,6 @@ 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) => {
|
||||
@@ -398,7 +393,7 @@ async function scrapeActors(actorNames) {
|
||||
}, newActorEntry.name);
|
||||
}
|
||||
} catch (error) {
|
||||
logger.warn(actorName, error);
|
||||
logger.warn(`${actorName}: ${error}`);
|
||||
}
|
||||
}, {
|
||||
concurrency: 3,
|
||||
|
||||
@@ -98,10 +98,16 @@ async function scrapeScene(html, url, site) {
|
||||
duration,
|
||||
poster,
|
||||
photos,
|
||||
trailer: {
|
||||
src: trailer,
|
||||
quality: parseInt(videoData.sizeOnLoad, 10),
|
||||
},
|
||||
trailer: [
|
||||
{
|
||||
src: trailer.replace('hd', '1080p'),
|
||||
quality: 1080,
|
||||
},
|
||||
{
|
||||
src: trailer,
|
||||
quality: parseInt(videoData.sizeOnLoad, 10),
|
||||
},
|
||||
],
|
||||
tags,
|
||||
rating: {
|
||||
stars,
|
||||
|
||||
Reference in New Issue
Block a user