get_redirected_url: Get a redirected URL from an input URL

View source: R/get_redirected_url.R

get_redirected_urlR Documentation

Get a redirected URL from an input URL

Description

This function returns a redirected URL. If the website of input URL is contained within a frame, it extract the URL embedded within the frame and use that URL as the redirect value.

Usage

get_redirected_url(input.URL)

Arguments

input.URL

An URL

Value

An URL redirected

Examples

input.URL <- "HTTP://GMFD.ORG/GMFRA/GMFRAINDEX.HTM"
get_redirected_url( input.URL )

Nonprofit-Open-Data-Collective/webscraper documentation built on July 19, 2023, 6:09 p.m.