Closed JoelHough closed 7 years ago
scrapers.games.length is not a great thing to do if games is undefined because nobody called res.save({ type: 'game', ...gamestuff}). Why a scraper wouldn't do that is another issue (#2, specifically).
scrapers.games.length
games
res.save({ type: 'game', ...gamestuff})
Done.
scrapers.games.length
is not a great thing to do ifgames
is undefined because nobody calledres.save({ type: 'game', ...gamestuff})
. Why a scraper wouldn't do that is another issue (#2, specifically).