Fixed scene URLs for Full Porn Network.

This commit is contained in:
ThePendulum 2020-02-15 02:47:50 +01:00
parent 850509257d
commit d1532e1bec
1 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ function scrapeAll(scenes) {
});
}
function scrapeScene({ q, qa, qd, qtx }, url) {
function scrapeScene({ q, qa, qd, qtx }, url, _site) {
const release = { url };
release.entryId = q('#image_parent img', 'id').match(/\w+-\w+-(\d+)-\d+/)[1];
@ -75,7 +75,7 @@ async function fetchLatest(site, page = 1) {
async function fetchScene(url, site) {
const qScene = await get(url, '.content-wrapper');
return qScene && scrapeScene(qScene, site);
return qScene && scrapeScene(qScene, url, site);
}
async function fetchProfile(actorName, scraperSlug) {