Skip to content

Commit

Permalink
thekitchn: include definite article (The) in site_name result (#1316
Browse files Browse the repository at this point in the history
)
  • Loading branch information
jayaddison authored Oct 21, 2024
1 parent 07bc48e commit 12a2304
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions recipe_scrapers/thekitchn.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
from ._abstract import AbstractScraper
from ._exceptions import StaticValueException


class TheKitchn(AbstractScraper):
@classmethod
def host(cls):
return "thekitchn.com"

def site_name(self):
raise StaticValueException(return_value="The Kitchn")
2 changes: 1 addition & 1 deletion tests/test_data/thekitchn.com/thekitchn.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"author": "Meghan Splawn",
"canonical_url": "https://www.thekitchn.com/manicotti-22949270",
"site_name": "Kitchn",
"site_name": "The Kitchn",
"host": "thekitchn.com",
"language": "en",
"title": "How To Make the Best Beef and Cheese Manicotti",
Expand Down

0 comments on commit 12a2304

Please sign in to comment.