🗞 Add The Economist Weekly Articles to Pocket

//Select all the CSS elements related to the head-link class that in the selected website correspond to links of all the articlesvar links = document.getElementsByClassName("headline-link")// Link is an HLML collector. In order to have them written in a text format, type the followingfor (i = 0; i < links.length; i++) {console.log(links[i].href) }

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store