File:  [Local Repository] / comics / comics.conf
Revision 1.14: download - view: text, annotated - select for diffs
Mon Jul 13 12:56:57 2015 UTC (9 years, 3 months ago) by nick
Branches: MAIN
CVS tags: HEAD
Added Sally Forth and Pearls Before Swine.  Adding Sally Forth required a change in the 'wget' command for fetching the index file to include 'user-agent' and 'referer'.

#  This file is a CSV of what to download
# 
#  This will be placed in to a hash like this:
#
#      "userfriendly" => {
#          url     =>      "http://www.userfriendly.org/",
#          search  =>      ".*Latest Strip.*(\/cartoons\/archives\/.*gif|png|jpg).*",
#          mode    =>      "1",
#          fullName=>      "User Friendly",
#          ext     =>      "gif",
#          order   =>	   "1",
#      },
#  Note: error should always be 0, and ext can be left blank.  The script
#  will try to determine what it is but will fallback to whatever is in 
#  there by default if it can't get it.

base_directory = /home/httpd/html/daily/work
index_directory = indexes
image_directory = images

sallyforth,http://sallyforth.com,<meta property=\"og:image\" content=\"(.*?)\"\/>,1,Sally Forth,gif,0
bizarro,http://www.arcamax.com/thefunnies/bizarro/,data-zoom-image=\"(.*/newspics/.*/\d+\.(?:gif|jpg))\".*src,1,Bizarro,gif,0
pbs,http://www.arcamax.com/thefunnies/pearlsbeforeswine/,data-zoom-image=\"(.*/newspics/.*/\d+\.(?:gif|jpg))\".*src,1,Pearls Before Swine,gif,0
questionable_content,http://questionablecontent.net/,<img src=\"(http:\/\/www.questionablecontent.net\/comics\/.*.[png|gif])\">.*,1,Questionable Content,gif,0
dilbert,http://www.dilbert.com/strip/__YEAR__-__MON__-__DAY__,.*class=\"img-responsive img-comic.*src=\"(.*)" width.*,1,Dilbert,gif,1
babyblues,http://www.arcamax.com/thefunnies/babyblues/,data-zoom-image=\"(.*/newspics/.*/\d+\.(?:gif|jpg))\".*src,1,Baby Blues,gif,0
luann,http://www.arcamax.com/thefunnies/luann/,data-zoom-image=\"(.*/newspics/.*/\d+\.(?:gif|jpg))\".*src,1,Luann,gif,0
andycapp,http://www.arcamax.com/thefunnies/andycapp/,data-zoom-image=\"(.*/newspics/.*/\d+\.(?:gif|jpg))\".*src,1,Andy Capp,gif,0
fbofw,http://www.ucomics.com/fbofw,.*strip\" src=\"(.*)\" width.*,1,For Better or For Worse,gif,1
stonesoup,http://www.ucomics.com/stonesoup/,.*strip\" src=\"(.*)\" width.*,1,StoneSoup,gif,1
xkcd,http://xkcd.com,.*embedding\): (.*\.png).*,1,xkcd,png,1
questionable_content,http://questionablecontent.net/,<img src=\"(http:\/\/www.questionablecontent.net\/comics\/.*.[png|gif])\">.*,1,Questionable Content,gif,0
the_lockhorns,http://www.arcamax.com/thefunnies/thelockhorns/,data-zoom-image=\"(.*/newspics/.*/\d+\.(?:gif|jpg))\".*src,1,The Lockhorns,gif,0
zits,http://www.arcamax.com/thefunnies/zits/,data-zoom-image=\"(.*/newspics/.*/\d+\.(?:gif|jpg))\".*src,1,Zits,gif,0

#### OLD COMICS ####
#dilbert,http://www.dilbert.com,.*textarea class=\"STR_EmbedCode\".*<img src=\"(.*gif|jpg)\" border.*,1,Dilbert,gif,1
#userfriendly,http://www.userfriendly.org/,.*Latest Strip.*(\/cartoons\/archives\/.*gif|png|jpg).*,1,User Friendly,gif
#penny_arcade,http://penny-arcade.com/comic,.\s*<img src=\"(.*com\/photos.*)\" alt.*,1,Penny Arcade,png
#blondie,http://www.arcamax.com/thefunnies/blondie/,img src=\"(.*/newspics/.*gif)\",1,Blondie,gif,0
#wizard_of_id,http://www.arcamax.com/thefunnies/wizardofid/,img src=\"(.*/newspics/.*gif)\",1,Wizard Of Id,gif,0
#hagar_the_horrible,http://www.arcamax.com/thefunnies/hagarthehorrible/,img src=\"(.*/newspics/.*gif)\",1,Hagar the Horrible,gif,0

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>