### Initialize Webpage Class Source: https://multporn.readthedocs.io/en/latest/multporn/webpage.html Instantiate the Webpage class with a target URL and optional proxy or request parameters. ```python class multporn.Webpage(url , proxies : dict = {}, requestParams : dict = {}) ``` -------------------------------- ### multporn.Webpage Source: https://multporn.readthedocs.io/en/latest/multporn/webpage.html Constructor for the Webpage class to initialize a connection to a specific multporn.net URL. ```APIDOC ## class multporn.Webpage(url, proxies={}, requestParams={}) ### Description Initializes a new Webpage instance to interact with a specific URL on multporn.net. ### Parameters - **url** (str) - Required - The URL of the multporn.net page. - **proxies** (dict) - Optional - Dictionary of proxies to use for requests. - **requestParams** (dict) - Optional - Additional parameters for the request. ``` -------------------------------- ### Access Webpage Properties Source: https://multporn.readthedocs.io/en/latest/multporn/webpage.html Retrieve the list of links or the name associated with the webpage instance. ```python property links : list[str] ``` ```python property name : str ``` -------------------------------- ### Webpage.links Source: https://multporn.readthedocs.io/en/latest/multporn/webpage.html Property to retrieve all links found on the initialized webpage. ```APIDOC ## @property Webpage.links ### Description Returns a list of all links found in the webpage. ### Returns - **list[str]** - A list of URLs found on the page. ``` -------------------------------- ### Utils.Search Source: https://multporn.readthedocs.io/en/latest/multporn/utils.html Performs a search query on the Multporn platform and returns a list of results containing links, thumbnails, and names. ```APIDOC ## Utils.Search ### Description Searches for content on the Multporn platform based on a query string, returning a dictionary of results. ### Method Static Method ### Parameters - **query** (str) - Required - The search term to look for. - **page** (int) - Optional - The page number of results to retrieve (default: 1). - **queryType** (Types) - Optional - The type of content to filter by (default: Types.All). - **sort** (Sort) - Optional - The sorting criteria for results (default: Sort.Relevant). - **proxies** (dict) - Optional - Proxy configuration for the request. - **requestsParams** (dict) - Optional - Additional parameters for the underlying request. ### Response - **Returns** (dict) - A dictionary containing 'link', 'thumb', and 'name' keys for each search result. ``` -------------------------------- ### Webpage.name Source: https://multporn.readthedocs.io/en/latest/multporn/webpage.html Property to retrieve the name of the webpage. ```APIDOC ## @property Webpage.name ### Description Returns the name of the webpage, which is typically the category, character, or author name. ### Returns - **str** - The name of the webpage. ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.