Array.from(document.querySelectorAll('div#header_v tr')).map((e) => {
return Array.from(e.querySelectorAll('td')).map((e) => {
return e.textContent
})
}).filter((e, idx) => {
return e.length === 4
}).filter((e) => {
return e[1].length === 5
}).map((e) => {
return {hs4: e[1], desc: e[3].trim()}
})
Last active
July 27, 2020 08:37
-
-
Save nrm176/1d53eeca49099f2dacfff3b04346937b to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.