Fixed Kink scraper returning duration as float.

This commit is contained in:
DebaucheryLibrarian
2025-12-28 06:24:07 +01:00
parent d2b4ceb166
commit 6096d1a811
2 changed files with 2 additions and 2 deletions

View File

@@ -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) => ({