Skip to main content

The purpose of this plugin is to parse URL and return it.

Project description

Url parser plugin

This plugin parses URL and returns it as output.

Configuration

User must provide a path to page URL. By default, path is available at session in context.page.url

{
  "url": "session@context.page.url"
}

Input

This action does not process input payload directly.

Output

Output example for url http://web.address.com/path/index.html?param1=1#hash:

{
  "url": "http://web.address.com/path/index.html?param1=1#hash",
  "scheme": "http",
  "hostname": "web.address.com",
  "path": "path",
  "query": "index.html?param1=1",
  "params": {
    "param1": "1"
  },
  "fragment": "hash"
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tracardi-url-parser-0.6.0.tar.gz (5.4 kB view hashes)

Uploaded Source

Built Distribution

tracardi_url_parser-0.6.0-py3-none-any.whl (5.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page