get all links beautifulsoup code example
Example: how to get all links from a website python beautifulsoup
from bs4 import BeautifulSoup
import requests
response = requests.get('url')
all_links = response.find_all('a') # this will return all links+text