Elixpose (elixpose v0.1.0) View Source

Elixpose helps you to scrap web pages. It shows you a lot of information about the page.

Link to this section Summary

Functions

Count the CSS referenced

Count the amount of Forms in the HTML

Count the HTML Elements

Count the JS referenced

Count the HTML Elements

Count the OnClick events

Get the text content from <style> Html Tag

Return information about the form tag

Get the text content from <script> Html Tag

Get the JSON with the amount of elements

Returns the OnClick values

Returns the page size in kb

Check if some JS file has an Ajax call

Link to this section Functions

Link to this function

count_css(url, headers \\ [])

View Source

Count the CSS referenced

## Examples

  iex> Elixpose.count_css("https://pt.stackoverflow.com/")
  3
Link to this function

count_forms(url, headers \\ [])

View Source

Count the amount of Forms in the HTML

## Examples

  iex> Elixpose.count_forms("https://pt.stackoverflow.com/")
  1
Link to this function

count_html_elements(url, headers \\ [])

View Source

Count the HTML Elements

## Examples

  iex> Elixpose.count_html_elements("https://pt.stackoverflow.com/")
  1
Link to this function

count_js(url, headers \\ [])

View Source

Count the JS referenced

## Examples

  iex> Elixpose.count_js("https://pt.stackoverflow.com/")
  19
Link to this function

count_meta_tags(url, headers \\ [])

View Source

Count the HTML Elements

## Examples

  iex> Elixpose.count_meta_tags("https://pt.stackoverflow.com/")
  12
Link to this function

count_onclick_events(url, headers \\ [])

View Source

Count the OnClick events

## Examples

  iex> Elixpose.count_onclick_events("https://pt.stackoverflow.com/")
  15
Link to this function

get_css_content(url, headers \\ [])

View Source

Get the text content from <style> Html Tag

Link to this function

get_forms_info(url, headers \\ [])

View Source

Return information about the form tag

Link to this function

get_js_content(url, headers \\ [])

View Source

Get the text content from <script> Html Tag

Link to this function

get_json_report(url, headers \\ [])

View Source

Get the JSON with the amount of elements

Link to this function

get_onclick_values(url, headers \\ [])

View Source

Specs

get_onclick_values(binary(), any()) :: list() | {:error, any()}

Returns the OnClick values

Link to this function

get_page_size(url, headers \\ [])

View Source

Returns the page size in kb

## Examples

  iex> Elixpose.get_page_size("https://pt.stackoverflow.com/")
  101
Link to this function

has_ajax_call?(url, headers \\ [])

View Source

Check if some JS file has an Ajax call

## Examples

  iex> Elixpose.has_ajax_call?("https://pt.stackoverflow.com/")
  true