DEV Community

Vivek Siva
Vivek Siva

Posted on • Updated on

meh.com scrapper in 3 lines ;)


export PATH=/usr/local/bin:$PATH
curl -s "https://meh.com/feed.json" | jq '.items[0].title'
curl -s "https://meh.com/feed.json" |jq '.items[0].url'

Now if you have a json path, and installed jq tool, you can technically scape any site right from the shell!

Top comments (0)