I am trying to create a program to gather informatiom about trending prices from https://www.cardmarket.com/en/Magic with Python, lxml and request.
I managed to gather all necessary data except one case. When there is a card from only 1 extension e.g. Hagra Diabolist, website will reroute the address to https://www.cardmarket.com/en/Magic/Products/Singles/Zendikar/Hagra-Diabolist even when you provided: https://www.cardmarket.com/en/Magic/MainPage/showSearchResult?searchFor=HagraDiabolist
Is there a way to check if the current address of the lxml request is the same as provided in the request.
Unless you have another solution for this case.
Thanks in advance!