michalczaplinski/pitchfork

Search no longer works after site redesign

fortes opened this issue · 1 comments

Looks like Pitchfork's redesign breaks how search was working here (via reading a JSON object that no longer exists). Poking around at the source, there's no straightforward replacement.

https://pitchfork.com/api/v2/search/_ac/?query= endpoint seems promising, but surprisingly fails for all sorts of values such as mogwai atomic even though that review exists and is returned when just searching for mogwai

As of now the search works for me as far as retrieving the album and soup, but it fails to parse plenty of the fields. i have a quick fix that parses the abstract and editorial but doesn't have the other fields working yet. i'll create a pull request for this while i tinker with some of the other fields