diff --git a/kuow_fetcher.py b/kuow_fetcher.py index 670377b..0cd9eb2 100644 --- a/kuow_fetcher.py +++ b/kuow_fetcher.py @@ -100,15 +100,15 @@ with Session(engine) as session: except NameError: print("Could not find or load the meta published time for this post") last_updated_time = datetime.now() - try: - pageview_story_id = article_soup.find( - "script", {"class": "pageview_story"} - )["data-id"] - except (NameError, TypeError): - print( - "Could not find or load a Pageview story ID, skipping additional processing on this post" - ) - continue + try: + pageview_story_id = article_soup.find( + "script", {"class": "pageview_story"} + )["data-id"] + except (NameError, TypeError): + print( + "Could not find or load a Pageview story ID, skipping additional processing on this post" + ) + continue try: lookup_statement = select(KuowStory).where( or_(