diff --git a/kuow_fetcher.py b/kuow_fetcher.py index 25618ec..05a558b 100644 --- a/kuow_fetcher.py +++ b/kuow_fetcher.py @@ -8,7 +8,7 @@ mastodon = Mastodon(access_token = 'kuow_bot_mastodon.secret') r = requests.get(url) soup = BeautifulSoup(r.content, 'html.parser') -for article in soup.find_all("span", class_ = "txt").reverse(): +for article in soup.find_all("span", class_ = "txt"): article_link = article.find("a").attrs["href"] is_new_article = True