code: def parse_urls_limit(input_str):
      # Split the input string into 'url', 'limit' or 'html' parts
      items = re.split(r",", input_str)
  
      # Initialize list for urls, limit and html
      urls = []
      limit = None
      html = False
  
      for item in items:
          item = item.strip()  # Remove leading/trailing whitespace
  
          # Check if item is a 'limit' or 'html' setting
          if item.lower().startswith("limit"):
              limit_match = re.search(r"\d+", item)
              if limit_match:
                  limit = int(limit_match.group())  # Extract the number
          elif item.lower().startswith("html"):
              html_match = re.search(r"(true|false)", item, re.I)
              if html_match:
                  html = (
                      html_match.group().lower() == "true"
                  )  # Check if the value is 'true'
          else:
              urls.append(item)  # Add the item to the url list
  
      return {"urls": urls, "limit": limit, "html": html}
  
imports: import concurrent.futures
  import io
  import re
  import traceback
  from threading import Lock
  from urllib.parse import urljoin, urlparse
  import fitz
  import pandas
  import requests
  from bs4 import BeautifulSoup
  from mindsdb.utilities import log
label_desc: Use image node_id 8 for calling a global function with example usage: parse_urls_limit(input_str) and returns: dict