masterT / bandcamp-scraper

A scraper for https://bandcamp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error Cannot read property 'title' of null

masterT opened this issue · comments

.../bandcamp-scraper/lib/htmlParser.js:351
      object.name = albumInfo.title;
                             ^

TypeError: Cannot read property 'title' of null
    at /.../bandcamp-scraper/lib/htmlParser.js:351:30
    at Array.reduce (native)
    at Object.exports.parseAlbumProducts (.../bandcamp-scraper/lib/htmlParser.js:341:24)
    at .../bandcamp-scraper/lib/index.js:63:33
    at Function.<anonymous> (.../tinyreq/lib/index.js:58:9)
    at res (.../assured/lib/index.js:27:12)
    at IncomingMessage.<anonymous> (.../tinyreq/lib/index.js:101:13)
    at emitNone (events.js:91:20)
    at IncomingMessage.emit (events.js:188:7)
    at endReadableNT (_stream_readable.js:975:12)