response = requests.request("GET", url, headers=headers)
print(response.text)
pdfLinks = []
I use an api to extract such a result, which is very long.This response.text seems to be a string, not a dictionary.
{"results":[{"title":"montrac® INTELLIGENCE IN MOTION - montratec","link":"https://www.montratec.de/fileadmin/user_upload/footer/montratec_Design_Guide_ENG.pdf","description":"„With montratec's technology, we could customize the transport system according to our production needs, eliminating dust, reducing consumption and optimizing. Missing: filetype= filetype=",.....},
For each item in the list, I want to extract only its "link" element and put it inside a new list. How can I achieve this?