forked from DebaucheryLibrarian/traxxx
Fixed scene URLs for Full Porn Network.
This commit is contained in:
parent
850509257d
commit
d1532e1bec
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue