Skip to contents

Fetching

Download a file or read a page, through a browser when the server insists on one.

fetch()
Download a file, through a browser if the server insists on one
read_page()
Read a resource into memory, through a browser if the server insists
page_text() page_json() page_html()
Parse a response from read_page()
download_in_browser()
Download a file in a browser

Sessions

A browser kept open on a host, for a feed read every few minutes.

browser_session()
Keep a browser open on a host

Clearance

The browser’s cookies and user agent, for requests you make yourself.

clearance()
Get a clearance for a host from a browser
clearance_handle()
A curl handle that carries a clearance

Probing

What a server serves at a URL, and whether it is a browser check or a block.

probe()
Ask a server what it serves at a URL
is_challenge()
Does a response carry a browser check instead of the resource?
is_block()
Is a response a block page that a browser would not be shown?
browser_available()
Can this package open a browser here?

Package

safeconduct safeconduct-package
safeconduct: Fetch Files Through a Real Browser When a Plain Request Is Refused