Removed superfluous console logs.
This commit is contained in:
parent
8bb46c5a6d
commit
f8e7ace89f
|
@ -256,8 +256,6 @@ async function scrapeSceneData(data, channel, options) {
|
||||||
release.channel = data.site;
|
release.channel = data.site;
|
||||||
release.stars = data.rating;
|
release.stars = data.rating;
|
||||||
|
|
||||||
console.log(release);
|
|
||||||
|
|
||||||
return release;
|
return release;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -355,12 +353,9 @@ async function fetchGraphqlScene(release, channel) {
|
||||||
});
|
});
|
||||||
|
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
console.log(res.body.data.searchVideos.edges);
|
|
||||||
return res.body.data?.searchVideos?.edges?.find((edge) => edge.node.slug === slug)?.node || null;
|
return res.body.data?.searchVideos?.edges?.find((edge) => edge.node.slug === slug)?.node || null;
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(res.body);
|
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue