Updated Full Porn Network scraper.
This commit is contained in:
@@ -77,7 +77,7 @@ function itemsByKey(items, key) {
|
||||
}
|
||||
|
||||
function toBaseSource(rawSource) {
|
||||
if (rawSource.src || (rawSource.extract && rawSource.url)) {
|
||||
if (rawSource && (rawSource.src || (rawSource.extract && rawSource.url))) {
|
||||
const baseSource = {};
|
||||
|
||||
if (rawSource.src) baseSource.src = rawSource.src;
|
||||
|
||||
Reference in New Issue
Block a user