Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
wget --keep-session-cookies --save-cookies cookies.txt --post-data 'name={USERNAME}&pass={PASSWORD}&form_build_id=form-NaPSEn1C_qDxG4CVz3n0wf5wis4cZuSin2WrZJr68xY&form_id=user_login_block&op=Logg%20inn' http://data.kartverket.no/download/content/velkommen?destination=node/134
wget --load-cookies cookies.txt http://data.kartverket.no/download/mine/downloads
grep -o "http://data.kartverket.no/download/system/files/terrengdata/10m/utm33/Terrengdata.*zip" downloads > dllist
wget --load-cookies cookies.txt -i dllist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.