I have a scraper to pull search results from a number of travel websites. Now that I have the search results nicely displayed with "Book Now" buttons, I want those "Book Now" buttons to redirect to the specific search result so the user can book that specific travel search result. These search results are dynamic so the redirect may change.
What's the easiest way to accomplish this? I'm building this search engine in Python/Django and have Django CMS.
Are you storing the results in a database or some persistent storage mechanism (maybe even in a KV store)?
Once you hold the results somewhere on your website, you can redirect from your results page via the Book Now button to a view withs the result's identifying value (say some hash) and have that view redirect to the website offering the service.
Redirect to a specific search result