def _simple_repository_list_artifacts(self, package_name: str) -> list:
url = self.url + "<STR_LIT:/>" + package_name<EOL>_LOGGER.debug(f"<STR_LIT>", package_name, url)<EOL>response = requests.get(url, verify=self.verify_ssl)<EOL>if response.status_code == <NUM_LIT>:<EOL><INDENT>raise NotFound(f"<STR_LIT>")<EOL><DEDENT>response.raise_for_status()<EOL>soup = BeautifulSoup(response.text, "<STR_LIT>")<EOL>links = soup.find_all("<STR_LIT:a>")<EOL>artifacts = []<EOL>for link in links:<EOL><INDENT>artifact_name = str(link["<STR_LIT>"]).rsplit("<STR_LIT:/>", maxsplit=<NUM_LIT:1>)<EOL>if len(artifact_name) == <NUM_LIT:2>:<EOL><INDENT>artifact_name = artifact_name[<NUM_LIT:1>]<EOL><DEDENT>else:<EOL><INDENT>artifact_name = artifact_name[<NUM_LIT:0>]<EOL><DEDENT>artifact_parts = artifact_name.rsplit("<STR_LIT:#>", maxsplit=<NUM_LIT:1>)<EOL>if len(artifact_parts) == <NUM_LIT:2>:<EOL><INDENT>artifact_name = artifact_parts[<NUM_LIT:0>]<EOL><DEDENT>if not artifact_name.endswith(("<STR_LIT>", "<STR_LIT>")):<EOL><INDENT>_LOGGER.debug("<STR_LIT>", package_name, link["<STR_LIT>"])<EOL>continue<EOL><DEDENT>artifact_url = link["<STR_LIT>"]<EOL>if not artifact_url.startswith(("<STR_LIT>", "<STR_LIT>")):<EOL><INDENT>artifact_url = url + f"<STR_LIT>"<EOL><DEDENT>artifacts.append((artifact_name, artifact_url))<EOL><DEDENT>return artifacts<EOL>
Parse simple repository package listing (HTML) and return artifacts present there.