Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- curl -s "https://raw.githubusercontent.com/thujone/stupid-hard-trivia/master/public/static/data/seinfeld.json" | jq '. as {$episodes} | .questions[] |= (. as $q | $episodes[] | select($q.e==.episode and $q.s==.season) | $q+{title}) | .questions | .[] |= {season: .s, episode: .e, episode_title: .title, question: .text, answer: .answer} | sort_by(.season)'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement