summaryrefslogtreecommitdiffstats
path: root/bin/comics/zits
diff options
context:
space:
mode:
authorPhillip Berndt <pberndt@fob.spline.inf.fu-berlin.de>2016-06-28 14:50:49 +0200
committerPhillip Berndt <pberndt@fob.spline.inf.fu-berlin.de>2016-06-28 14:50:49 +0200
commit597527698d9bc2d52e05b4335c5f7cc52867c306 (patch)
tree76f0653f4221d2bf9c404914f521a3d9b33343db /bin/comics/zits
parent468e973630cb1114b52327922915fea2d177c3f2 (diff)
downloadcomics-597527698d9bc2d52e05b4335c5f7cc52867c306.tar.gz
comics-597527698d9bc2d52e05b4335c5f7cc52867c306.tar.bz2
comics-597527698d9bc2d52e05b4335c5f7cc52867c306.zip
Fixed several comics
Diffstat (limited to 'bin/comics/zits')
-rwxr-xr-xbin/comics/zits4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/comics/zits b/bin/comics/zits
index b3399ce..2455002 100755
--- a/bin/comics/zits
+++ b/bin/comics/zits
@@ -16,8 +16,8 @@ export LC_ALL=C
newn="${day}.gif"
month="$(date -d "$daysago days ago" +%m)"
-server="http://zitscomics.com/comics/$(date -d "$daysago days ago" +%B-%-d-%Y | tr '[:upper:]' '[:lower:]')/"
-imgregex="http://safr.kingfeatures.com/idn/etv/zone/xml/content.php\?file=[A-Za-z0-9]+"
+server="http://zitscomics.com/comics/$(date -d "$daysago days ago" +%B-%d-%Y | tr '[:upper:]' '[:lower:]')/"
+imgregex="https://safr.kingfeatures.com/idn/[^\?]+/content.php\?file=[A-Za-z0-9]+"
useragent="Mozilla/4.76 [de] (X11; U; Linux 2.2.18 i586)"
echo "Dateiname: $newn"