import requests
def get_stream(url):
s = requests.Session()
with s.get(url, headers=None, stream=True) as resp:
for line in resp.iter_lines():
if line:
print(line)
url = 'https://api.boerse-frankfurt.de/v1/data/quote_box?isin=GB0002875804&mic=XFRA'
get_stream(url)