<prompt> Kuandika programu ya crawler mtandao ambayo hukusanya posts zote kutoka tovuti fulani.  <response>: Here is a simple Python web crawler program that can collect all posts from a website using the Beautiful Soup library:pythonimport requestsfrom bs4 import BeautifulSoupdef web_crawlerwebsite_url: Make a GET request to the website response requests.getwebsite_url Check if the request was successful if response.status_code 200: Parse the response using Beautiful Soup soup BeautifulSoupresponse.text, html.parser Find all the posts on the website posts soup.find_alldiv, class_post Loop through each post and extract the data for index, post in enumerateposts, start1: title post.findh2.text content post.findp.text printfnPost index: printfTitle: title printfContent: content else: printfAn error occurred while making the request: response.status_code Test the web_crawler function on a sample websiteif __name__ __main__: website_url web_crawlerwebsite_urlThis web crawler sends a GET request to the specified website and then uses Beautiful Soup to parse the response. It looks for all the div elements with a class attribute value of post and then extracts the post title and content from each one.Please note that this code is just an example and will need to be modified to work with the specific structure of the website. Also, its very important to check the websites robots.txt file before collecting data to ensure that the action is allowed. 