summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xkadomatsu-rss.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/kadomatsu-rss.py b/kadomatsu-rss.py
index fc17cab..4fbb25d 100755
--- a/kadomatsu-rss.py
+++ b/kadomatsu-rss.py
@@ -12,7 +12,7 @@ import requests
from bs4 import BeautifulSoup
from urllib.parse import urljoin
-root = "http://www.toshiki-kadomatsu.jp/information/"
+root = "https://www.toshiki-kadomatsu.jp/information/"
feed = feedgenerator.Rss201rev2Feed(
title="角松敏生 OFFICIAL SITE",
@@ -65,7 +65,7 @@ def get_rss_items(soup):
return rss_items
-rss_items = get_rss_items(get_soup("http://www.toshiki-kadomatsu.jp/information/?select=all"))
+rss_items = get_rss_items(get_soup(root + "?select=all"))
for i in rss_items:
feed.add_item(