Get hidden EAN from web page


I know the EAN is on the page source of this website.

Url: HUGO Deep Red EDP Spray 90ml | Save Today | Fragrance Direct

How can I setup a scraper to collect it?

@user123456 Hi, have you tried using - script[type="text/javascript"]:contains("ean")?

Some additional data post-processing will be needed as well, similarly, as seen in this post: Scrape the image of each color option on JSON - #14 by viesturs

Hi, thanks very much for this.

As suggested some additional data processing will be needed. But I think it should be ok for now.