diff options
Diffstat (limited to 'kadomatsu-rss.py')
-rwxr-xr-x | kadomatsu-rss.py | 3 |
1 files changed, 1 insertions, 2 deletions
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( |