Closed glenvollmer closed 7 years ago
It looks like the build still failing. 😕
I'll keep playing around with it
You gave up?
It looks like the build is no longer failing, and I am able to return the raw album info when I run the scraper. Also the changes I made no longer apply to the TralbumData object that's being scrapped. I think bandcamp updated the contents of the object again.
The object "TralbumData" that "parseAlbumRawInfo" scrapes for was updated by bandcamp and it seems that the property "cfg_territory_support_on:" was added to the object causing the validation to fail and return null. I updated the regex at line 251 in htmlParser.js to check for the property "cfg_territory_support_on:" instead of "is_band_member:" and it seems to have fixed the error.