Indent the business and append line so it is inside the for loop:
for item in data:
phone_url = "https://yellowpages.com.eg" + item["data-tooltip-phones"]
title = item.find_previous(class_="item-title").text
address = item.find_previous(class_="address-text").text.strip().replace('\n',
'')
phones = requests.get(phone_url).json()
business = {
'name': title,
'address': address,
'telephone': phones
}
my_list.append(business)
solved returning only the first Value while i am printing a list [closed]