news notes
This commit is contained in:
parent
84365f816d
commit
2a1a7eef1e
17
newsfeed.txt
Normal file
17
newsfeed.txt
Normal 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));
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user