Closed jayaddison closed 3 months ago
Yes this would be good to check Accept-Language and Device-Type for the Monsieur Cuisine scraper because both of those headers are needed for the request to work.
Looks good to me!
Thanks! I'll merge this first so that we can use the test functionality in your pull request.
@Keyruu could you please take a look at this suggestion?
What I'd like to do here is to allow the tests to optionally expect specific header values from the scraper when it makes a request.
In the case of #1014 that would include the
Accept-Language
header, which should match the original HTML page. It may also include theDevice-Type
header (if that's required).