Last active
August 11, 2017 04:24
-
-
Save 0x4a/3d8125920add75dc8f03b9b5ca994949 to your computer and use it in GitHub Desktop.
get the first 100 bytes of a webpage every minute
This file contains hidden or 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
@ECHO OFF | |
:loop | |
SET timestamp=%time:~0,2%-%time:~3,2%-%time:~6,2% | |
set timestamp=%timestamp: =0% | |
curl.exe -s -k https://www.google.com | head -c 100 > curl_%timestamp%.html | |
ECHO saved: %timestamp% | |
sleep 60 | |
GOTO loop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment