summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgarret <garret@airmail.cc>2022-10-02 02:06:12 +0100
committergarret <garret@airmail.cc>2022-10-02 02:06:12 +0100
commite33cd181f99f5d90f3a90f61904994357f459ed0 (patch)
tree08c8fa0c89f4fa97c0fe19625963487c5eb3653e
parent7be8eee0b6509179d128a30ebde7b4606c75ce58 (diff)
downloadkadomatsu-rss-e33cd181f99f5d90f3a90f61904994357f459ed0.tar.gz
kadomatsu-rss-e33cd181f99f5d90f3a90f61904994357f459ed0.tar.bz2
kadomatsu-rss-e33cd181f99f5d90f3a90f61904994357f459ed0.zip
http -> https
oh shit since when did they add that i swear it just didn't have it
-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(