code: def _origin_url(url: str) -> str:
      """ """
      if url.startswith("http"):
          url = url.split("//")[1]
      return url
  
imports: from __future__ import annotations
  import logging
  import json
  import os
  import urllib
  from typing import TYPE_CHECKING, Any, Callable, Literal, Protocol, TypedDict, Union, cast, overload
  from uuid import uuid4
  from ..core.types import ID
  from ..util.serialization import make_id
  from ..util.warnings import warn
  from .state import curstate
label_desc: Use image node_id 14 for calling a global function with example usage: _origin_url(url) and returns: url