~kdsch/android-bulletin

03e505a640a0a8c7265a9533331e517d092fdf2f — Karl Schultheisz 3 years ago 1f5a4bf
add scrape script
2 files changed, 10 insertions(+), 1 deletions(-)

M README.md
A scrape
M README.md => README.md +3 -1
@@ 1,13 1,15 @@
# android-bulletin

Android Security Bulletins are published only as HTML. `android-bulletin`
aims to make them more useful by compiling them into a clean and
aims to make them more useful by compiling them into a clean, compact, and
consistent table.

The tool works on HTML files; it does not use the network. This makes
it flexible, as it can be used with other programs that are good at
downloading files.

See the `scrape` script for example usage.

To convert a bulletin list into a newline-delimited list of urls, use

	./android-bulletin urls <bulletin-list.html >urls.txt

A scrape => scrape +7 -0
@@ 0,0 1,7 @@
#!/bin/sh -e

mkdir -p bulletins
wget https://source.android.com/security/bulletin
./android-bulletin urls <bulletin >urls
wget -i - -P bulletins <urls
./android-bulletin csv bulletins/* >vulns.csv