Skip to content

Commit

Permalink
Update to current user agent
Browse files Browse the repository at this point in the history
  • Loading branch information
wosc committed Oct 5, 2024
1 parent 2841810 commit cf370e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/wosc/dailycomics.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
DIR=/home/wosc/public_html/dailystrips
YESTERDAY=`date --date yesterday +%Y.%m.%d`

dailystrips --useragent "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:108.0) Gecko/20100101 Firefox/108.0" --date $YESTERDAY --local --save --clean 7 --basedir $DIR @wosc &> /dev/null
dailystrips --useragent "Mozilla/5.0 (X11; Linux x86_64; rv:131.0) Gecko/20100101 Firefox/131.0" --date $YESTERDAY --local --save --clean 7 --basedir $DIR @wosc &> /dev/null
ln -sf $DIR/dailystrips-$YESTERDAY.html $DIR/index.html
if ! grep -q DOCTYPE $DIR/index.html; then
sed -i -e 's+<html>+<!DOCTYPE html><html lang="en">+' \
Expand Down

0 comments on commit cf370e3

Please sign in to comment.