From 28f1ba15f160929fd8a97e13fc5bbe3aa80cfaf4 Mon Sep 17 00:00:00 2001 From: garret Date: Sun, 2 Oct 2022 02:03:29 +0100 Subject: remove os.path --- kadomatsu-rss.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'kadomatsu-rss.py') diff --git a/kadomatsu-rss.py b/kadomatsu-rss.py index a69ddc4..5b29ecd 100755 --- a/kadomatsu-rss.py +++ b/kadomatsu-rss.py @@ -10,7 +10,6 @@ import feedgenerator import requests from bs4 import BeautifulSoup -from os import path from urllib.parse import urljoin root = "http://www.toshiki-kadomatsu.jp/information/" @@ -66,7 +65,7 @@ def get_rss_items(soup): return rss_items -rss_items = get_rss_items(get_soup(path.join(root, "?select=all"))) +rss_items = get_rss_items(get_soup("http://www.toshiki-kadomatsu.jp/information/?select=all")) for i in rss_items: feed.add_item( -- cgit v1.2.3-70-g09d2