diff --git a/allrecipes/__init__.py b/allrecipes/__init__.py index f13edd7..20505aa 100644 --- a/allrecipes/__init__.py +++ b/allrecipes/__init__.py @@ -68,7 +68,7 @@ def search(search_string): @staticmethod def _get_name(soup): - return soup.find("h1", {"id": "article-heading_2-0"}).get_text().strip(' \t\n\r') + return soup.find("h1", {"class": "article-heading"}).get_text().strip(' \t\n\r') @staticmethod def _get_rating(soup):