Created
June 7, 2014 18:16
-
-
Save alexanno/2448e51856e24739ba13 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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