summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-07-04 17:33:10 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-07-04 17:33:10 +0800
commit11d6ed75c8a8ccdef78727e8c3748fabe7ee7015 (patch)
treeb8b3a2b9ea85a1dff28c7efdde4dafdec63a9053
parent6ab3fd7a3daa3a483f57e2d764df81daef5a7233 (diff)
downloadpttbbs-11d6ed75c8a8ccdef78727e8c3748fabe7ee7015.tar
pttbbs-11d6ed75c8a8ccdef78727e8c3748fabe7ee7015.tar.gz
pttbbs-11d6ed75c8a8ccdef78727e8c3748fabe7ee7015.tar.bz2
pttbbs-11d6ed75c8a8ccdef78727e8c3748fabe7ee7015.tar.lz
pttbbs-11d6ed75c8a8ccdef78727e8c3748fabe7ee7015.tar.xz
pttbbs-11d6ed75c8a8ccdef78727e8c3748fabe7ee7015.tar.zst
pttbbs-11d6ed75c8a8ccdef78727e8c3748fabe7ee7015.zip
weather url changed
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk@410 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/util/weather.perl4
1 files changed, 2 insertions, 2 deletions
diff --git a/pttbbs/util/weather.perl b/pttbbs/util/weather.perl
index c9a35406..276ba8a5 100644
--- a/pttbbs/util/weather.perl
+++ b/pttbbs/util/weather.perl
@@ -1,5 +1,5 @@
#!/usr/bin/perl
-# $Id: weather.perl,v 1.1 2002/03/07 15:13:46 in2 Exp $
+# $Id: weather.perl,v 1.2 2002/07/04 09:33:10 in2 Exp $
#
# 不能跑的話,看看 bbspost 的路徑是否正確。
# 如果發出的 post 沒有氣象報告而是說 URL 找不到,則確定一下能不能看到
@@ -15,7 +15,7 @@ close DATE;
# Header
# 內容
-open(WEATHER, "/usr/bin/lynx -dump http://www.cwb.gov.tw/V3.0/weather/text/Data/W03.txt |");
+open(WEATHER, "/usr/bin/lynx -dump http://www.cwb.gov.tw/V3.0/weather/text/W03.htm |");
while (<WEATHER>) {
print BBSPOST if ($_ ne "\n");
}