aboutsummaryrefslogtreecommitdiff
path: root/zeitung/placeholder
diff options
context:
space:
mode:
authorMarvin Borner2021-06-06 22:42:18 +0200
committerMarvin Borner2021-06-06 22:42:18 +0200
commit51ca21d20957b10cf4b33f05e1e42f4afa2ab680 (patch)
treee39e39647972fe187eaf30e623cbda8d5cd41c92 /zeitung/placeholder
parentf98e8667530bf2694e97972b706022afdcf40b91 (diff)
fixed lars
Diffstat (limited to 'zeitung/placeholder')
-rw-r--r--zeitung/placeholder/.gitignore1
-rwxr-xr-xzeitung/placeholder/get.sh12
2 files changed, 0 insertions, 13 deletions
diff --git a/zeitung/placeholder/.gitignore b/zeitung/placeholder/.gitignore
deleted file mode 100644
index 76ce7fc..0000000
--- a/zeitung/placeholder/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-*.jpg
diff --git a/zeitung/placeholder/get.sh b/zeitung/placeholder/get.sh
deleted file mode 100755
index 000e14a..0000000
--- a/zeitung/placeholder/get.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/bash
-
-MAX=300
-if [[ ! -z "$1" ]]; then
- MAX=$1
-fi
-
-for i in $( seq $MAX ); do
-FILE=${i}.jpg
-curl 'https://thispersondoesnotexist.com/image' -H 'authority: thispersondoesnotexist.com' -H 'pragma: no-cache' -H 'cache-control: no-cache' -H 'upgrade-insecure-requests: 1' -H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.80 Safari/537.36' -H 'accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3' -H 'referer: https://thispersondoesnotexist.com/' -H 'accept-encoding: gzip, deflate, br' -H 'accept-language: en-US,en;q=0.9' --compressed -o $FILE
-sleep 1
-done