This morning I set out on a quest to grab ESPN’s latest headlines using pup.
Long story short: I couldn’t figure out how to do it using pup alone.
Luckily, Eric Chiang (pup’s creator) came to my rescue with a solution using pup and jq in combination, and I’ve since written a command-line script for grabbing ESPN’s latest headlines, as well as modified my motd to include them!
https://gist.github.com/loisaidasam/2625769862c81f943f58
Happy ESPN’ing! :)