I left foodnetwork.co.uk as the "default" domain and added the capability to also reference foodnetwork.com the same way as hellofresh scraper supports multiple domains. Tests are passing and I tried the following URLs locally and they both work as expected:
This PR fixes #1010
As described in the issue, this commit https://github.com/hhursev/recipe-scrapers/commit/4fef338670142c3b4563f902ded1ade1f8001d0f#diff-5d1c0cbbdbecea7561f2fa87a9ecdd8bb896262f71727989caa4cf140b54cdeb changed the URL for foodnetwork from foodnetwork.com to foodnetwork.co.uk. Additionally, foodntwork.com now is blocking requests from "old" user-agents and this PR updates the user-agent header.
I left foodnetwork.co.uk as the "default" domain and added the capability to also reference foodnetwork.com the same way as hellofresh scraper supports multiple domains. Tests are passing and I tried the following URLs locally and they both work as expected: