@classmethod
  def from_url(cls, proxy_url):
    if proxy_url:
      parse_result = urlparse.urlparse(proxy_url)
      return cls(parse_result.hostname, parse_result.port)
    return cls(None, None)
Submit comments via ajax
dataset/ETHPy150Open chromium/web-page-replay/platformsettings.py/SystemProxy.from_url--crossover with--dataset/ETHPy150Open codelucas/flask_reddit/flask_reddit/apis/views.py/submit_comment