compare pastebin #!/usr/bin/env python import requests # URLs for data retrieval TEMPLATE_IDS_URL = "https://pastebin.com/raw/yTMbTDH5" PASTEBIN_IDS_URL = "https://pastebin.com/raw/dL5MkFGZ" # RegScale test ids def fetch_ids(url): """ Fetches a list of IDs from a given URL. compare pastebin How to use it? compare pastebin Args: url (str): The URL to fetch the IDs from. Returns: list: A list of IDs, or an empty list if the request fails. """ try: response = requests.get(url) response.raise_for_status() # Raise an exception for HTTP errors ids = response.text.splitlines() # Handles line splitting cross-platform compare pastebin How to get it? compare pastebin return [id.strip() for id in ids if id] except requests.exceptions.RequestException as e: print(f"Error fetching IDs from {url}: {e}") return [] if __name__ == "__main__": pastebin_ids = fetch_ids(PASTEBIN_IDS_URL) template_ids = fetch_ids(TEMPLATE_IDS_URL) print("Template IDs:", template_ids) compare pastebin How to get it for free? compare pastebin print("Pastebin IDs:", pastebin_ids) compare pastebin