Response from the actual destination URL is needed.
I have tried solution mentioned SO question.
import requests
doi_link = 'https://doi.org/10.1016/j.artint.2018.07.007'
response = requests.get(url= doi_link ,allow_redirects=True )
print(response.status_code,response.url, response.history)
#Outputs: 200 https://linkinghub.elsevier.com/retrieve/pii/S0004370218305988 [<Response [302]>]
Why is allow_redirects getting stopped in the middle?
The final URL i get on when done manually on browser is https://www.sciencedirect.com/science/article/pii/S0004370218305988?via%3Dihub
I wanted to have this URL programmatically.
EDIT As suggested in comments the final call to the destination is made using JS.