Mercurial > ~darius > hgwebdir.cgi > scrape-vb
annotate scrape-vb.ini @ 6:9f3eb9a07966
Add config parser.
Add ability to print out an example config file.
Add -f option to read a saved page.
author | darius |
---|---|
date | Wed, 29 Aug 2007 07:37:59 +0000 |
parents | 89232ea0c3d4 |
children | bf896507faa9 |
rev | line source |
---|---|
3
89232ea0c3d4
Read configuration from an ini file rather than hard coding it in the
darius
parents:
diff
changeset
|
1 [global] |
89232ea0c3d4
Read configuration from an ini file rather than hard coding it in the
darius
parents:
diff
changeset
|
2 mailhost=mail.dons.net.au |
89232ea0c3d4
Read configuration from an ini file rather than hard coding it in the
darius
parents:
diff
changeset
|
3 mailfrom=darius@dons.net.au |
89232ea0c3d4
Read configuration from an ini file rather than hard coding it in the
darius
parents:
diff
changeset
|
4 #mailsubj="Virgin Blue Happy Hour Deals" |
89232ea0c3d4
Read configuration from an ini file rather than hard coding it in the
darius
parents:
diff
changeset
|
5 #mailsend=True |
89232ea0c3d4
Read configuration from an ini file rather than hard coding it in the
darius
parents:
diff
changeset
|
6 #vburl = 'http://virginblue.com.au' |
89232ea0c3d4
Read configuration from an ini file rather than hard coding it in the
darius
parents:
diff
changeset
|
7 |
89232ea0c3d4
Read configuration from an ini file rather than hard coding it in the
darius
parents:
diff
changeset
|
8 [darius@dons.net.au] |
89232ea0c3d4
Read configuration from an ini file rather than hard coding it in the
darius
parents:
diff
changeset
|
9 city1=Sydney |
89232ea0c3d4
Read configuration from an ini file rather than hard coding it in the
darius
parents:
diff
changeset
|
10 |
89232ea0c3d4
Read configuration from an ini file rather than hard coding it in the
darius
parents:
diff
changeset
|
11 [sarah.mahoney@nehta.give.au] |
89232ea0c3d4
Read configuration from an ini file rather than hard coding it in the
darius
parents:
diff
changeset
|
12 city1=Adelaide |
89232ea0c3d4
Read configuration from an ini file rather than hard coding it in the
darius
parents:
diff
changeset
|
13 city2=Brisbane |