susd-page-parser
v1.0.0
Published
Turn the HTML from Shut Up And Sit Down's website into a data structure
Downloads
725
Maintainers
Readme
susd-page-parser
A function which, given the html from the games/videos pages at shutupandsitdown.com, spits out a data structure.
Example output:
[ { url: 'https://www.shutupandsitdown.com/games/dead-of-winter-the-long-night/',
title: 'Dead of Winter: The Long Night',
imageUrl: 'https://www.shutupandsitdown.com/wp-content/uploads/2016/09/pic2906832.jpg',
tags:
[ 'dead-of-winter-the-long-night',
'susd-recommends',
'heavy-games',
'bluffing-games',
'expansions' ] },
{ url: 'https://www.shutupandsitdown.com/games/inis/',
title: 'Inis',
imageUrl: 'https://www.shutupandsitdown.com/wp-content/uploads/2016/08/pic3112623_lg.jpg',
tags: [ 'inis', 'susd-recommends', 'war-games', 'games-for-two' ] } ]