Package: safeconduct 0.1.0

safeconduct: Fetch Files Through a Real Browser When a Plain Request is Refused
Some servers refuse any request that does not come from a web browser, with a browser check or a block page instead of the file, 'Cloudflare' being the common case. This package opens a real 'Chrome' with a throwaway profile, lets any check run, and fetches the file or page: through 'curl' carrying the clearance the browser was given where the server accepts that, and through the browser itself where it does not. Nothing is simulated; where a check asks a person to click, a window waits for them. Built on 'chromote'.
Authors:
safeconduct_0.1.0.tar.gz
safeconduct_0.1.0.zip(r-4.7-any)safeconduct_0.1.0.zip(r-4.6-any)
safeconduct_0.1.0.tar.gz(r-4.7-any)safeconduct_0.1.0.tar.gz(r-4.6-any)
safeconduct_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
safeconduct/json (API)
| # Install 'safeconduct' in R: |
| install.packages('safeconduct', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/mountainmath/safeconduct/issues
Pkgdown/docs site:https://mountainmath.github.io
Last updated from:10e2566f19. Checks:6 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 144 | ||
| source / vignettes | OK | 185 | ||
| linux-release | OK | 173 | ||
| windows-devel | OK | 105 | ||
| windows-release | OK | 98 | ||
| wasm-release | OK | 111 |
Exports:browser_availablebrowser_sessionclearanceclearance_handledownload_in_browserfetchis_blockis_challengepage_htmlpage_jsonpage_textproberead_page
Dependencies:AsioHeaderschromoteclicpp11curlfastmapjsonlitelaterlifecyclemagrittrotelprocessxpromisespsR6Rcpprlangwebsocketwithrzip
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Can this package open a browser here? | browser_available |
| Keep a browser open on a host | browser_session |
| Get a clearance for a host from a browser | clearance |
| A curl handle that carries a clearance | clearance_handle |
| Download a file in a browser | download_in_browser |
| Download a file, through a browser if the server insists on one | fetch |
| Is a response a block page that a browser would not be shown? | is_block |
| Does a response carry a browser check instead of the resource? | is_challenge |
| Parse a response from read_page() | page_html page_json page_text |
| Ask a server what it serves at a URL | probe |
| Read a page or a feed into memory, through a browser if the server insists | read_page |
