From e33cd181f99f5d90f3a90f61904994357f459ed0 Mon Sep 17 00:00:00 2001 From: garret Date: Sun, 2 Oct 2022 02:06:12 +0100 Subject: http -> https oh shit since when did they add that i swear it just didn't have it --- kadomatsu-rss.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kadomatsu-rss.py') 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( -- cgit v1.2.3-70-g09d2