<prompt> Ngola lenaneo la web crawler le bokellang lintho tsohle ho tsoa webosaeteng e fanoeng.nan  <response>: Instruction in English: Write a web crawler program that collects all posts from a given website. . Response in English: 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. . Response in Sesotho: Mona ke lenaneo le bonolo la Python web crawler le ka bokellang liphatlalatso tsohle ho tsoa sebakeng sa marang-rang ka ho sebelisa laeborari ea Beautiful Soup: python likopo tsa ho reka ho tsoa ho bs4 import BeautifulSoup def web_crawlerwebsite_url: Etsa kopo ea GET ho karabo ea sebaka sa marang-rang likopo. getwebsite_url Sheba hore na kopo e atlehile haeba karabo.status_code 200: Hlalosa karabo ka ho sebelisa Sopho e Ntle ea Soup BeautifulSoupresponse.text, html.parser Fumana lintlha tsohle tse hlahang ho websaeteng soup.find_alldiv, class_post Lokola poso e ngoe le e ngoe me u ntše lintlha tsa index, beha ka paloliposo, qala1: sehlooho poso.findh2. poso.fumanap. mongolo o hatisitsoengfnPost index: hatisafTitle: title hatisafContent: content hape: hatisaf Phoso e etsahetse ha ho etsoa kopo: response.status_code Lekola tšebetso ea web_crawler ho mohlala oa sebaka sa marang-rang haeba __name__ __main__: website_url web_crawlerwebsite_url Sesebisi sena sa tepo se romela kopo ea GET webosaeteng e boletsoeng, ebe se sebelisa Beautiful Soup ho hlalosa karabo. E batla likarolo tsohle tsa div tse nang le boleng ba tšobotsi ea sehlopha sa poso ebe e ntša sehlooho sa poso le litaba ho e ngoe le e ngoe. Ka kopo hlokomela hore khoutu ena ke mohlala feela mme e tla hloka ho fetoloa hore e sebetse le sebopeho se ikhethileng sa sebaka sa marang-rang. Hape, ke habohlokoa haholo ho hlahloba faele ea websaete ea robots.txt pele u bokella lintlha ho netefatsa hore ketso e lumelloa. 