How to hack your own personal daily comics page(jeremyraines.com)2 points·by jraines·há 18 anos·1 commentsjeremyraines.comHow to hack your own personal daily comics pagehttp://www.jeremyraines.com/?p=211 commentsPost comment[–]jws·há 18 anosreplySeems awfully pointy clicky to me.I just use this script and cron. #!/bin/sh function getone { PAGE=$1 TO=$2 SUBJ=$3 URL=`curl -s "$PAGE" | sed -r -n -e 's/^.*"(http:[^"]*zoom.gif[^"]*)".*$/\1/p'` [ -z "$URL" ] || ( curl -s "$URL" | mime-construct --subject $SUBJ \ --to $TO --attachment comic.gif --type image/gif --file - ) } getone http://comics.com/9_chickweed_lane/ [email protected] chickwee getone http://comics.com/dog_eat_doug/ [email protected] dougeatdog Of course any kind of content scraping brings ethical questions.
I just use this script and cron.
Of course any kind of content scraping brings ethical questions.