summaryrefslogtreecommitdiffstats
path: root/bin/comics/geekandpoke
diff options
context:
space:
mode:
Diffstat (limited to 'bin/comics/geekandpoke')
-rwxr-xr-xbin/comics/geekandpoke2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/comics/geekandpoke b/bin/comics/geekandpoke
index 11c4360..ad76c50 100755
--- a/bin/comics/geekandpoke
+++ b/bin/comics/geekandpoke
@@ -19,6 +19,8 @@ wget ${wget_args} --user-agent="$browser" \
--header="Referer: http://geekandpoke.typepad.com/" \
"http://geekandpoke.typepad.com/" -O index.html
+export LC_ALL=C
+
if [ -s index.html ]; then
date="$(LC_ALL=C date +"%B %d, %Y" -d "$daysago days ago")"
nomen="$(grep -A30 "$date" index.html | grep "img class" | head -1 | sed 's/.*img class=[^\/]*src="\([^"]\+\)".*/\1/')"