summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-04-02 10:48:46 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-04-02 10:48:46 +0800
commit3fde5d81b1229381b79115879aa9dd0ca07e5cb8 (patch)
tree5741bf7b273da97512f3709c6a645b44f4d18ceb
parent197367d4b88507940becadd8876b18b83d56cd0b (diff)
downloadpttbbs-3fde5d81b1229381b79115879aa9dd0ca07e5cb8.tar
pttbbs-3fde5d81b1229381b79115879aa9dd0ca07e5cb8.tar.gz
pttbbs-3fde5d81b1229381b79115879aa9dd0ca07e5cb8.tar.bz2
pttbbs-3fde5d81b1229381b79115879aa9dd0ca07e5cb8.tar.lz
pttbbs-3fde5d81b1229381b79115879aa9dd0ca07e5cb8.tar.xz
pttbbs-3fde5d81b1229381b79115879aa9dd0ca07e5cb8.tar.zst
pttbbs-3fde5d81b1229381b79115879aa9dd0ca07e5cb8.zip
change url
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@764 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--util/weather.perl4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/weather.perl b/util/weather.perl
index 5e2c8d4f..f7a1559c 100644
--- a/util/weather.perl
+++ b/util/weather.perl
@@ -1,5 +1,5 @@
#!/usr/bin/perl
-# $Id: weather.perl,v 1.5 2003/03/01 06:12:20 bbs Exp $
+# $Id: weather.perl,v 1.6 2003/04/02 02:48:46 in2 Exp $
#
# 不能跑的話,看看 bbspost 的路徑是否正確。
# 如果發出的 post 沒有氣象報告而是說 URL 找不到,則確定一下能不能看到
@@ -20,7 +20,7 @@ close DATE;
# Header
# 內容
#open(WEATHER, "$LYNX -assume_charset=big5 -assume_local_charset=big5 -dump http://www.cwb.gov.tw/V3.0/weather/text/W03.htm |");
-open(WEATHER, "$LYNX -assume_charset=big5 -assume_local_charset=big5 -dump -nolist http://www.libertytimes.com.tw/2003/new/mar/today/Wnews1.htm|");
+open(WEATHER, "$LYNX -assume_charset=big5 -assume_local_charset=big5 -dump -nolist http://www.libertytimes.com.tw/2003/new/apr/today/Wnews1.htm|");
while (<WEATHER>) {
last if /今日天氣/;