diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-07-04 17:33:10 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-07-04 17:33:10 +0800 |
commit | d5c9ccc6c80d8aa8ed5ba8533ddfb9629c55b237 (patch) | |
tree | a764ff4c00c36287b0587ad0aa2ef45494655b92 /util/weather.perl | |
parent | d95e53b3bad962878d56dc4e9d7f1985579681f5 (diff) | |
download | pttbbs-d5c9ccc6c80d8aa8ed5ba8533ddfb9629c55b237.tar pttbbs-d5c9ccc6c80d8aa8ed5ba8533ddfb9629c55b237.tar.gz pttbbs-d5c9ccc6c80d8aa8ed5ba8533ddfb9629c55b237.tar.bz2 pttbbs-d5c9ccc6c80d8aa8ed5ba8533ddfb9629c55b237.tar.lz pttbbs-d5c9ccc6c80d8aa8ed5ba8533ddfb9629c55b237.tar.xz pttbbs-d5c9ccc6c80d8aa8ed5ba8533ddfb9629c55b237.tar.zst pttbbs-d5c9ccc6c80d8aa8ed5ba8533ddfb9629c55b237.zip |
weather url changed
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@410 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util/weather.perl')
-rw-r--r-- | util/weather.perl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/weather.perl b/util/weather.perl index c9a35406..276ba8a5 100644 --- a/util/weather.perl +++ b/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"); } |