Package 'pinteresturl'

Title: Parse and Normalize Pinterest URLs
Description: Parses, classifies, and normalizes public Pinterest URLs without making network requests. Supports Pin, short, profile, board, and Ideas URLs across Pinterest country domains while rejecting lookalike hosts, credentials, non-HTTPS URLs, encoded paths, and non-standard ports.
Authors: SavePinner Contributors [aut, cre]
Maintainer: SavePinner Contributors <[email protected]>
License: MIT + file LICENSE
Version: 0.1.2
Built: 2026-09-20 12:02:00 UTC
Source: https://github.com/jiankn/pinterest-url-normalizer-r

Help Index


Test whether a URL is supported

Description

Checks a Pinterest URL without making a network request.

Usage

is_pinterest_url(url)

Arguments

url

A single character string.

Value

TRUE for a supported URL, otherwise FALSE.


Normalize a Pinterest URL

Description

Normalizes a supported Pinterest URL without making a network request.

Usage

normalize_pinterest_url(url)

Arguments

url

A single character string.

Value

A canonical URL string.


Parse a Pinterest URL

Description

Parses one URL without following redirects or making any network request.

Usage

parse_pinterest_url(url)

Arguments

url

A single character string.

Value

A list with kind, normalized_url, and identifier.