Fixed URL prefixing in Kink scraper.
This commit is contained in:
parent
9ae81afecc
commit
bcf5ca6024
|
|
@ -12,7 +12,7 @@ function scrapeAll(scenes, entity) {
|
||||||
|
|
||||||
const href = query.url('a[href*="/shoot"]');
|
const href = query.url('a[href*="/shoot"]');
|
||||||
|
|
||||||
release.url = `${networkUrl}${href}`;
|
release.url = unprint.prefixUrl(href, networkUrl);
|
||||||
|
|
||||||
release.shootId = href.split('/').slice(-1)[0];
|
release.shootId = href.split('/').slice(-1)[0];
|
||||||
release.entryId = release.shootId;
|
release.entryId = release.shootId;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue