--- comics/comics.conf	2011/08/18 12:39:12	1.1.1.1
+++ comics/comics.conf	2025/04/02 13:29:10	1.29
@@ -1,40 +1,116 @@
 #  This file is a CSV of what to download
+#
+#  $Id: comics.conf,v 1.29 2025/04/02 13:29:10 nick Exp $
+#  $Log: comics.conf,v $
+#  Revision 1.29  2025/04/02 13:29:10  nick
+#  Updated FBOW to use direct download which also required fixing the direct
+#  download function.  Lastly, I removed the restriction for resizing images
+#  so all comics are resized to a width of 800px.
+#
+#  Revision 1.28  2024/12/13 16:03:22  nick
+#  Updated sally forth to work as a link only.
+#
+#  Revision 1.27  2021/10/19 14:34:46  nick
+#  Updated XKCD to work properly again.
+#
+#  Revision 1.26  2020/05/29 12:45:39  nick
+#  Added Calvin and Hobbes
+#
+#  Revision 1.25  2019/04/15 12:50:44  nick
+#  Updated Sally Forth.
+#
+#  Revision 1.24  2018/06/15 12:22:53  nick
+#  Updated Questionable Content
+#
+#  Revision 1.23  2018/04/22 14:03:54  nick
+#  Changed the default for Sunday comics that was causing issues with some comics.
+#
+#  Revision 1.22  2018/04/09 12:02:46  nick
+#  Fixed configuration for StoneSoup, updated configuration for some Sunday comics.
+#
+#  Revision 1.21  2018/04/06 11:48:38  nick
+#  Updated URL for For Better or For Worse, Foxtrot and Foxtrot Classics.
+#
+#  Revision 1.20  2018/01/27 14:39:47  nick
+#  Added Cyanide & Happiness
+#
+#  Revision 1.19  2018/01/26 13:05:27  nick
+#  Added a new config option to remove all newline from the resulting index.html
+#  file.  This allows for easier parsing for certain comics.  I then updated
+#  the URLs to search for and enabled the newline removal for a handful
+#  of uComics.
+#
+#  I believe I've also properly fixed the Comic Config version displayed on
+#  the webpage itself.
+#
+#  Revision 1.18  2017/08/17 12:32:42  nick
+#  Updated For Better or For Worse URL change.
+#
+#  Revision 1.17  2017/01/16 13:53:10  nick
+#  Fixed ucomic due to website change.
+#
+#  Revision 1.16  2015/10/22 12:58:44  nick
+#  Added the ability for Sunday only comics.  Stonesoup is no longer weekdays, this has been added to Sunday only.  I also added Foxtrot Classics for weekdays and Foxtrot for Sundays.
+#
 # 
 #  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.
+#      "userfriendly" => {
+#          url     =>      "http://www.userfriendly.org/",
+#          search  =>      ".*Latest Strip.*(\/cartoons\/archives\/.*gif|png|jpg).*",
+#          mode    =>      "1",
+#          fullName=>      "User Friendly",
+#          ext     =>      "gif",
+#          Not Sundays     => "1",
+#          Sunday_only     => "1",
+#          remove_newlines => "0",
+#      },
+#  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
 
-dilbert,http://www.dilbert.com,.*textarea class=\"STR_EmbedCode\".*<img src=\"(.*gif|jpg)\" border.*,1,Dilbert,gif
-babyblues,http://www.babyblues.com,.*img src="(http:\/\/cserver.king-online.com\/.*Baby_Blues.*\d{4}(?:-\d\d?){2}).*,1,Baby Blues,gif
-userfriendly,http://www.userfriendly.org/,.*Latest Strip.*(\/cartoons\/archives\/.*gif|png|jpg).*,1,User Friendly,gif
-luann,http://www.gocomics.com/luann,.*Check out Luann.* src=\"(.*)\".*/>,1,Luann,jpg
-fbofw,http://www.ucomics.com/fbofw,http://images.ucomics.com/comics/fb/__year__/fb__year2____mon2____day2__.__ext__,2,For Better or For Worse,gif
-andycapp,http://www.gocomics.com/andy_capp/,.*Check out Andy.* src=\"(.*)\".*/>,1,Andy Capp,gif
-stonesoup,http://www.ucomics.com/stonesoup,http://images.ucomics.com/comics/ss/__year__/ss__year2____mon2____day2__.__ext__,2,StoneSoup,gif
-roseisrose,http://comics.com/rose_is_rose/,.*Check out Rose.* src=\"(.*)\".*/>,1,Rose is Rose,gif
-xkcd,http://xkcd.com,.*embedding\): (.*\.png)</h3>.*,1,xkcd,png
-
-#----  Old Comica -----
-
-#garfield,http://www.ucomics.com/garfield,http://picayune.uclick.com/comics/ga/__year__/ga__year2____mon2____day2__.__ext__,2,Garfield,gif
-##wizeardofid,http://comics.com/wizard_of_id/,.*img src=\"(.*gif|jpg).*STR.AttachZoomHover.*,1,Wizard of ID,gif
-##ziggy,http://www.ucomics.com/ziggy,http://images.ucomics.com/comics/zi/__year__/zi__year2____mon2____day2__.__ext__,2,Ziggy,gif
-##momma,http://comics.com/momma/,.*img src=\"(.*gif|jpg).*STR.AttachZoomHover.*,1,Momma,gif
-##peanuts,http://comics.com/peanuts/,.*img src=\"(.*gif|jpg).*STR.AttachZoomHover.*,1,Peanuts,gif
-##zrandom,http://comics.com/,.*img src=\"(.*gif|jpg).*STR.AttachZoomHover.*,1,Random Comic of the Day,gif
-#foxtrot,http://www.ucomics.com/foxtrot,http://images.ucomics.com/comics/ft/__year__/ft__year2____mon2____day2__.__ext__,2,Foxtrot,gif
-#bc,http://www.comics.com/creators/bc/index.html,.*IMG SRC=\"(.*gif|jpg).*ALT.*Today.*Comic.*,1,B.C.,gif
-# getfuzzy,http://www.comics.com/comics/getfuzzy/index.html,.*IMG SRC=\"(.*gif|jpg).*ALT.*Today.*Comic.*,1,Get Fuzzy,gif
+
+forbetterorforworse,https://www.fborfw.com/strip_fix/strips/fb__YR____MON____DAY__.gif,,2,For Better or For Worse,gif,0,0,1
+
+sallyfothh,https://comicskingdom.net/sally-forth/__YEAR__-__MON__-__DAY__,link,3,Sally Forth,/daily/comics/images/SallyForth.jpg,0,0,1
+
+questionable_content,http://questionablecontent.net/,.*<img src=\"(http.*\/comics\/.*)\">.*,1,Questionable Content,gif,1,0,0
+
+# sallyforth,https://comicskingdom.com/sally-forth/__YEAR__-__MON__-__DAY__,<meta property=\"og:image\" content=\"(.*?)\"\ \/>,1,Sally Forth,gif,0,0
+#sallyforth,https://comicskingdom.com/sally-forth/__YEAR__-__MON__-__DAY__,.*<meta property=\"og:image\" content=\"(.*?)\"\ \/>.*,1,Sally Forth,gif,0,0
+#sallyforth,https://www.startribune.com/variety/comicgames/comics/sally-forth/,.*<meta property=\"og:image\" content=\"(.*?)\"\ \/>.*,1,Sally Forth,gif,0,0
+# sallyforth,https://www.startribune.com/variety/comicgames/comics/sally-forth/,.*<meta property=\"og:image\" content=\"(.*?)\"\ \/>.*,1,Sally Forth,gif,0,0
+
+# calvinandhobbes,http://www.gocomics.com/calvinandhobbes/__YEAR__/__MON__/__DAY__,.*og:image.*(htt.*assets.amuniversal.*)\" ,1,Calvin and Hobbes,gif,0,0,0
+
+stonesoup,http://www.gocomics.com/stonesoup/__YEAR__/__MON__/__DAY__,.*og:image.*(htt.*assets.amuniversal.*)\" ,1,StoneSoup,gif,0,1,1
+# forbetterorforworse,http://www.gocomics.com/forbetterorforworse/__YEAR__/__MON__/__DAY__,.*og:image.*(htt.*assets.amuniversal.*)\" ,1,For Better or For Worse,gif,0,0,1
+
+foxtrot,http://www.gocomics.com/foxtrot/__YEAR__/__MON__/__DAY__,.*og:image.*(htt.*assets.amuniversal.*)\" ,1,FoxTrot,gif,0,1,1
+
+# foxtrotclassics,http://www.gocomics.com/foxtrotclassics/__YEAR__/__MON__/__DAY__,.*og:image.*(htt.*assets.amuniversal.*)\",1,FoxTrot Classics,gif,1,0,1
+
+# dilbert,http://www.dilbert.com/strip/__YEAR__-__MON__-__DAY__,<meta property=\"og:image\" content=\"(.*?)\"\/>,1,Dilbert,gif,1,0
+
+bizarro,http://www.arcamax.com/thefunnies/bizarro/,data-zoom-image=\"(.*/newspics/.*/\d+\.(?:gif|jpg))\".*src,1,Bizarro,gif,0,0
+pbs,http://www.arcamax.com/thefunnies/pearlsbeforeswine/,data-zoom-image=\"(.*/newspics/.*/\d+\.(?:gif|jpg))\".*src,1,Pearls Before Swine,gif,0,0
+# questionable_content,http://questionablecontent.net/,<img src=\"(https:\/\/www.questionablecontent.net\/comics\/.*.[png|gif])\">.*,1,Questionable Content,gif,1,0,0
+babyblues,http://www.arcamax.com/thefunnies/babyblues/,data-zoom-image=\"(.*/newspics/.*/\d+\.(?:gif|jpg))\".*src,1,Baby Blues,gif,0,0
+luann,http://www.arcamax.com/thefunnies/luann/,data-zoom-image=\"(.*/newspics/.*/\d+\.(?:gif|jpg))\".*src,1,Luann,gif,0,0
+andycapp,http://www.arcamax.com/thefunnies/andycapp/,data-zoom-image=\"(.*/newspics/.*/\d+\.(?:gif|jpg))\".*src,1,Andy Capp,gif,0,0
+xkcd,http://xkcd.com,.*embedding\): <a href.*\">(.*\.png).*,1,xkcd,png,1,0
+# questionable_content,http://questionablecontent.net/,.*<img src=\"(https:\/\/www.questionablecontent.net\/comics\/.*.[png|gif])\">.*,1,Questionable Content,gif,1,0,0
+the_lockhorns,http://www.arcamax.com/thefunnies/thelockhorns/,data-zoom-image=\"(.*/newspics/.*/\d+\.(?:gif|jpg))\".*src,1,The Lockhorns,gif,0,0
+zits,http://www.arcamax.com/thefunnies/zits/,data-zoom-image=\"(.*/newspics/.*/\d+\.(?:gif|jpg))\".*src,1,Zits,gif,0,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