object is not callablel web crawler : import requests
from bs4 import BeautifulSoup


def lolz(max_pages):
	page = 1
	while page <= max_pages:
		url = 'https://www.thenewboston.com/search.php?type=1&sort=pop&page=' + str(page)
		sorce_code = requests.get(url)
		plain_text = sorce_code.text
		soup = BeautifulSoup(plain_text)
		for link in soup.findall('a',{'class' : 'item-name'}):
			href = link.get('href')
			print(href)
		page += 1
lolz(1)

		





here is the code i keep geting error nonetype object is not callable