I'm trying to find best way to capture links listed under response headers, exactly like this one and I'm using python requests module. Below is link which has Link Headers section on Python Requests page: docs.python-requests.org/en/latest/user/advanced/
But, in my case my response headers contains links like below:
{'content-length': '12276', 'via': '1.1 varnish-v4', 'links': '<http://justblahblahblah.com/link8.html>;rel="last">,<http://justblahblahblah.com/link2.html>;rel="next">', 'vary': 'Accept-Encoding, Origin'}
Please notice > after "last" which is not the case under Requests examples and I just cant seem to figure out how to solve this.
linkheader then you can parse it manually: it is not that hard. - Alik