Skip to content

Instantly share code, notes, and snippets.

View benhagen's full-sized avatar

Ben Hagen benhagen

View GitHub Profile
@shellcromancer
shellcromancer / rss-8k-1_05-filings.js
Created January 21, 2024 18:49
Fetch material cybersecurity incidents
let Parser = require('rss-parser');
const url = 'https://www.sec.gov/cgi-bin/browse-edgar?action=getcurrent&CIK=&type=8-K&company=&dateb=&owner=include&start=40&count=40&output=atom'
let parser = new Parser({
headers: {
'User-Agent': 'Company Name admin@company.net'
},
});
(async () => {