# !/usr/bin/env python import urllib.request from bs4 import BeautifulSoup import requests icon_path = "アイコンが格納されているディレクトリの絶対パス" line_notify_token = 'アクセストークンIDを入力してください' line_notify_api = 'https://notify-api.line.me/api/notify' # 抽出対象のRSSとURL(デフォルトは茨城県水戸市) rssurl = "http://weather.livedoor.com/forecast/rss/area/080010.xml" URL = "http://weather.livedoor.com/area/forecast/080010" tenki = [] detail