Documentation Index
Fetch the complete documentation index at: https://mintlify.com/galloclaudio/mega-search-links/llms.txt
Use this file to discover all available pages before exploring further.
Overview
TheURLFetcher class is the main interface for interacting with the Mega Search Links API. It handles API requests with custom user-agent headers and manages the base URL configuration.
Class Definition
Constructor
__init__(base_url, user_agent)
Initializes the URLFetcher with a base URL and user-agent.
The base URL for the API.
The user-agent string to be used for the requests.
Instance Attributes
After initialization, the URLFetcher instance has the following attributes:self.base_url: Stores the base URL for the APIself.headers: Dictionary containing the User-Agent header
Example
fetch_urls() method.