(I'm not the author). Here is the repo that powers the article: https://github.com/the-pudding/censorship , which forks a svelte-kit starter template most new pudding.cool articles start with.
The bit that actually makes the divs for each scene that was cut is here: https://github1s.com/the-pudding/censorship/blob/HEAD/src/co... , and the data is here: https://github1s.com/the-pudding/censorship/blob/HEAD/src/da...