I'm scraping a website which loads product data from individual JSON files. I found the URLs to the JSONs by inspecting the network traffic.
The problem is this: when I follow the JSON URLs, most of the links will provide a JSON result. But the JSON URLs of products that have special characters in them, eg é, return a null response. Of course the data is shown on the browser but I can't seem to get the JSON response directly.
Any tips?
(I'm trying to find a similar website that acts in the same way so I can post it here for example)
EDIT:
Here is an example
Product A url: https://www.boozebud.com/p/hopnationbrewingco/thedamned
WORKS: A's JSON url: https://www.boozebud.com/a/producturl/p/hopnationbrewingco/thedamned
Product B url: https://www.boozebud.com/p/àbloc/superprestigenaturalblondebeer
RETURNS NULL: B's JSON url: https://www.boozebud.com/a/producturl/p/àbloc/superprestigenaturalblondebeer
(Related to my previous unanswered question: scrapy: dealing with special characters in url which might need to be revised in light of this question)