Pontifications

  • How To get all Firefox Desktop SUMO KB Articles using pup (disclaimer this could break at any time :-)
  1. Get the web page using curl
  2. Parse the HTML :-) and find the links using pup
curl "https://support.mozilla.org/en-US/contributors/kb-overview?product=firefox" |\
pup '#kb-overview-table tbody tr td:nth-child(1) a[href*="/en-US/kb/"]\
attr{href}'  > all_relative_desktop_urls.html

See the earlier, grep version: How To get all Firefox Desktop SUMO KB Articles using pup

Leave a comment on github