from bs4 import BeautifulSoup


def extract_internal_links(HTML):
	"""
	Looks through HTML and extracts internal hyperlinks
	"""
	soup = BeautifulSoup(HTML)
	link_list = [link.get('href') for link in soup.find_all('a')]
	return link_list