Fixed expect instead of expectType property in Bang scraper.
This commit is contained in:
@@ -78,7 +78,7 @@ function scrapeAll(scenes, entity) {
|
||||
posterUrl.href,
|
||||
].map((src) => ({
|
||||
src,
|
||||
expect: {
|
||||
expectType: {
|
||||
'application/octet-stream': 'image/jpeg',
|
||||
},
|
||||
}));
|
||||
@@ -157,7 +157,7 @@ async function scrapeScene({ query }, { url, entity }) {
|
||||
if (poster) {
|
||||
release.poster = {
|
||||
src: poster,
|
||||
expect: {
|
||||
expectType: {
|
||||
'application/octet-stream': 'image/jpeg',
|
||||
},
|
||||
};
|
||||
@@ -175,7 +175,7 @@ async function scrapeScene({ query }, { url, entity }) {
|
||||
|
||||
release.photos = query.sourceSets('div[data-controller] a[href^="/photos"] img').map((src) => ({
|
||||
src,
|
||||
expect: {
|
||||
expectType: {
|
||||
'application/octet-stream': 'image/jpeg',
|
||||
},
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user