Source code for absfuyu.tools.web

"""
Absfuyu: Web
------------
Web, ``request``, ``BeautifulSoup`` stuff

Version: 5.1.0
Date updated: 10/03/2025 (dd/mm/yyyy)
"""

# Library
# ---------------------------------------------------------------------------
import requests
from bs4 import BeautifulSoup

from absfuyu.logger import logger


# Function
# ---------------------------------------------------------------------------




[docs] def gen_random_commit_msg() -> str: """ Generate random commit message Returns ------- str Random commit message """ out = soup_link("https://whatthecommit.com/").get_text()[34:-20] logger.debug(out) return out # type: ignore