news notes

This commit is contained in:
Martin Donnelly 2021-11-29 15:51:11 +00:00
parent 84365f816d
commit 2a1a7eef1e

17
newsfeed.txt Normal file
View File

@ -0,0 +1,17 @@
Latest list of news
https://euronews.com/just-in
News item page processor
const s = document.getElementsByTagName('script');
for(let item of s) {
if (item.getAttribute('type') === 'application/ld+json') {
console.log(JSON.parse(item.innerHTML));
}
}