diff options
author | garret <garret@airmail.cc> | 2022-10-02 02:03:29 +0100 |
---|---|---|
committer | garret <garret@airmail.cc> | 2022-10-02 02:03:29 +0100 |
commit | 28f1ba15f160929fd8a97e13fc5bbe3aa80cfaf4 (patch) | |
tree | fb1280968689f1892ac3ef5a7af8af8662ce356c /kadomatsu-rss.py | |
parent | 5b212ff8b7d1cf530545888846567453b10bb8a0 (diff) | |
download | kadomatsu-rss-28f1ba15f160929fd8a97e13fc5bbe3aa80cfaf4.tar.gz kadomatsu-rss-28f1ba15f160929fd8a97e13fc5bbe3aa80cfaf4.tar.bz2 kadomatsu-rss-28f1ba15f160929fd8a97e13fc5bbe3aa80cfaf4.zip |
remove os.path
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( |