Created
June 23, 2020 16:20
-
-
Save bitsgalore/167562939d73c56b4d8f51b6ba6bdb0d 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
#! /usr/bin/env python3 | |
from warcio.capture_http import capture_http | |
import requests | |
def main(): | |
# Existing warc.gz file (created with wget, then compressed using warcio's | |
# 'recompress' command) | |
with capture_http("ziklies.home.xs4all.nl.warc.gz"): | |
for indexOnder in range(1, 8): | |
for indexMidden in range(1, 8): | |
for indexTop in range(1, 8): | |
vOnder = str(indexOnder) + 'a' | |
vMidden = str(indexMidden) + 'b' | |
vTop = str(indexTop) + 'c' | |
requests.post("http://ziklies.home.xs4all.nl/cgi-bin/barbie.cgi", | |
data={'onder':vOnder, 'midden':vMidden, 'top':vTop}) | |
main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment