diff options
author | Phillip Berndt <pberndt@spline.de> | 2013-03-11 13:30:59 +0100 |
---|---|---|
committer | Phillip Berndt <pberndt@spline.de> | 2013-05-06 09:40:01 +0200 |
commit | 5afde763a0e72e82adca82180114545d8c44f02f (patch) | |
tree | fb1fa0037ae0a158d389fb28ba9d74041f5e47c1 /bin/comics/geekandpoke | |
parent | b5fa0da33499c27a77ba71ab19ab700a220536eb (diff) | |
download | comics-5afde763a0e72e82adca82180114545d8c44f02f.tar.gz comics-5afde763a0e72e82adca82180114545d8c44f02f.tar.bz2 comics-5afde763a0e72e82adca82180114545d8c44f02f.zip |
Fixed feeds for Claybennett, Zits and Snoopy
Appended on 26. April 2013:
I have tested these changes locally for about 1½ months now and they
seem to be stable.
Diffstat (limited to 'bin/comics/geekandpoke')
-rwxr-xr-x | bin/comics/geekandpoke | 2 |
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/')" |