You should show code and error,also what you have tried.
As i stared testing in previous post,here is the code that should do it.
As i stared testing in previous post,here is the code that should do it.
import requests from bs4 import BeautifulSoup url = 'https://connectedinvestors.com/member/jonathan-kessous/friends/2' url_get = requests.get(url) soup = BeautifulSoup(url_get.content, 'html.parser') for tag in soup.find_all('h4', class_="card-name"): a_link = tag.find('a') print('-'*25) print(a_link.get('href')) print(a_link.text.strip())
Output:-------------------------
/member/jonathan-kessous
Jonathan Kessous
-------------------------
/member/devon-van-nostrand
Devon Vannostrand
-------------------------
/member/angelo-argentieri
Angelo Argentieri
-------------------------
/member/clayton-zelazowski
Clayton Zelazowski
-------------------------
.....ect