Unalix.cr

Small, dependency-free, fast Crystal package for removing tracking fields from URLs.

Unalix is a library written in Crystal, it follows the same specification used by the ClearURLs addon for removing tracking fields from URLs.

Installation

Add to your shard.yml:

dependencies:
  unalix:
    github: AmanoTeam/Unalix.cr
    branch: master

Note: Unalix requires Crystal 0.30.0 or higher.

Usage:

Code:

require "unalix"

url : String = "https://deezer.com/track/891177062?utm_source=deezer"
result : String = Unalix.clear_url(url: url)

puts result

Output:

https://deezer.com/track/891177062

Contributing

If you have discovered a bug in this library and know how to fix it, fork this repository and open a Pull Request.

Third party software

Unalix includes some third party software in its codebase. See them below:

Repository

Unalix.cr

Owner
Statistic
  • 0
  • 0
  • 0
  • 0
  • 0
  • over 2 years ago
  • July 29, 2021
License

Other

Links
Synced at

Tue, 23 Apr 2024 02:01:22 GMT

Languages