Module treewalker_page

Manipulate a scrapped page.

Copyright © 2019 Antoine Gagné

Authors: Antoine Gagné (gagnantoine@gmail.com).

Description

Manipulate a scrapped page.

Data Types

content()

content() = term()

name()

name() = binary()

page()

abstract datatype: page()

url()

url() = uri_string:uri_string()

Function Index

content/1Fetch the scrapped content of the page.
content/2Set the scrapped content of the page.
init/0Initialize a new scrapped page.
name/1Fetch the user agent that scrapped the page.
name/2Set the user agent that scrapped the page.
url/1Fetch the URL of the page.
url/2Set the URL of the page.

Function Details

content/1

content(X1::page()) -> content()

Fetch the scrapped content of the page.

content/2

content(Content::content(), Page::page()) -> page()

Set the scrapped content of the page.

init/0

init() -> page()

Initialize a new scrapped page.

name/1

name(X1::page()) -> name()

Fetch the user agent that scrapped the page.

name/2

name(Name::name(), Page::page()) -> page()

Set the user agent that scrapped the page.

url/1

url(X1::page()) -> url()

Fetch the URL of the page.

url/2

url(Url::url(), Page::page()) -> page()

Set the URL of the page.


Generated by EDoc