diff options
author | Phillip Berndt <pberndt@fob.spline.inf.fu-berlin.de> | 2016-06-28 14:50:49 +0200 |
---|---|---|
committer | Phillip Berndt <pberndt@fob.spline.inf.fu-berlin.de> | 2016-06-28 14:50:49 +0200 |
commit | 597527698d9bc2d52e05b4335c5f7cc52867c306 (patch) | |
tree | 76f0653f4221d2bf9c404914f521a3d9b33343db /bin/comics/cyanide | |
parent | 468e973630cb1114b52327922915fea2d177c3f2 (diff) | |
download | comics-597527698d9bc2d52e05b4335c5f7cc52867c306.tar.gz comics-597527698d9bc2d52e05b4335c5f7cc52867c306.tar.bz2 comics-597527698d9bc2d52e05b4335c5f7cc52867c306.zip |
Fixed several comics
Diffstat (limited to 'bin/comics/cyanide')
-rwxr-xr-x | bin/comics/cyanide | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/comics/cyanide b/bin/comics/cyanide index 969a44d..90e536d 100755 --- a/bin/comics/cyanide +++ b/bin/comics/cyanide @@ -19,7 +19,7 @@ year=`date -d "$daysago days ago 00:00:00" +%Y` month=`date -d "$daysago days ago 00:00:00" +%m` day=`date -d "$daysago days ago 00:00:00" +%d` -part=`curl -s "http://explosm.net/comics/archive/$year/$month" | sed -nre "s#.+/comics/([0-9]+)\">$year.$month.$day.+#\1#p"` +part=`curl -s "http://explosm.net/comics/archive/$year/$month" | sed -nre "s#.+/comics/([0-9]+)/?\">$year.$month.$day.+#\1#p"` if [ -z "$part" ]; then echo "Cyanide and Happyness: Kein Comic für $year, $month $day" rm -rf "${tmp}" |