Fixed reading screen ID from non-existent item in Bang scraper.

This commit is contained in:
DebaucheryLibrarian
2022-02-12 17:19:47 +01:00
parent 7372b560b2
commit d9f0db6e3c

View File

@@ -16,7 +16,7 @@ const genderMap = {
};
function getScreenUrl(item, scene) {
if (!scene.dvd?.id || !item.screenId) {
if (!scene.dvd?.id || !item?.screenId) {
return null;
}