Fixed Kink scraper returning duration as float.
This commit is contained in:
@@ -94,7 +94,7 @@ function scrapeScene({ query }, url, entity) {
|
||||
release.date = query.date('.shoot-detail-legend', 'MMM D, YYYY');
|
||||
|
||||
release.duration = data?.duration
|
||||
? data.duration / 1000
|
||||
? Math.round(data.duration / 1000) // duration actually accurate down to the millisecond, not rounded to the nearest thousand
|
||||
: query.duration('#shootPage .clock');
|
||||
|
||||
release.actors = query.elements('#shootPage h1 + span a[href*="/model"]').map((actorEl) => ({
|
||||
|
||||
Reference in New Issue
Block a user