forked from DebaucheryLibrarian/traxxx
Fixed reading screen ID from non-existent item in Bang scraper.
This commit is contained in:
parent
7372b560b2
commit
d9f0db6e3c
|
@ -16,7 +16,7 @@ const genderMap = {
|
||||||
};
|
};
|
||||||
|
|
||||||
function getScreenUrl(item, scene) {
|
function getScreenUrl(item, scene) {
|
||||||
if (!scene.dvd?.id || !item.screenId) {
|
if (!scene.dvd?.id || !item?.screenId) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue