Hi,
I'm trying to pull hoilday serach results from the URL below and trying to work out the best way to scrape the data. I've noticed there is a difference in the HTML code depending on how the code is viewed.
For example, if I inspect the 'resort place name/title' text using chome, the HTML shows as follows:
h1 class="detailed-card-header__title">Caretta Paradise & Waterpark /h1
But if I view the page source, the same element if shown as follows:
h1 class="detailed-card-header__title">{{ name }} /h1
I trying to work out the data source for {{ name }} ? Is this served as a json file (or similar) to the browser, but I couldn't find a data file in my cache?
Or is the tag {{ name }} dynamically servering data to the page via a server request? Such as jquery or javascript?
I'm new to scraping, and have a script that can scrape the class="detailed-card-header__title" text using selenium and beautifulsoup, but just wondering if there is a shortcut to directly query the {{ name }} ?
Thanks for reading, any pointers would be greatly appreciated.