Thief v0.1.2 Thief View Source

Documentation for Thief. Scrape and get image link"

Link to this section Summary

Functions

Collect the linked links and return the list

Get a list of links within the domain." "

Thief.save Save the created list as a file

Get body element of URL destination

Return a list of image links from the body element

Return a list of links from the body element

Collect the linked image links and return the list

Collect the linked image links and return the list

Thief.steal make a list of URLs and create a list of image downloads. We only get lists within the domain

your get link or images at URL

your get link or images at URL

Thief.steal make a list of URLs and create a list of image downloads. We only get lists within the domain

Link to this section Functions

Link to this function

get_domain_img(domain, path) View Source

Collect the linked links and return the list.

Examples

iex> Thief.get_domain_img( domain, path ) [https://xxxx.com/img.png,https://xxxx.com/img.jpg]

Get a list of links within the domain." "

Examples

iex> Thief.get_domain_link( domain ) [https://xxxx.com/img.png,https://xxxx.com/img.jpg]

Link to this function

get_domain_link(domain, path) View Source

Thief.save Save the created list as a file.

Examples

iex> Thief.save(list, file_name )

file_name

Get body element of URL destination.

## Examples

iex> { :ok, body } = Thief.get_html("https://github.com")

Return a list of image links from the body element.

## Examples

iex> Thief.get_imgs(body) ["https://xxxxx.com/", "https://xxxxx.com/"]

Return a list of links from the body element.

## Examples

iex> list = Thief.get_links(body) ["https://xxxxx.com/", "https://xxxxx.com/"]

Collect the linked image links and return the list.

## Examples

iex> Thief.getimage( url ) [https://xxxx.com/img.png,https://xxxx.com/img.jpg]

Collect the linked image links and return the list.

Examples

iex> Thief.getlink( url ) [https://xxxx.com/img.png,https://xxxx.com/img.jpg]

Thief.steal make a list of URLs and create a list of image downloads. We only get lists within the domain.

Examples

iex> list = Thief.steal( domain, path )
[https://xxxx.com/img.png,https://xxxx.com/img.jpg]

your get link or images at URL.

## Examples

  iex> Thief.steal( "https://xxxx.com" , "/" )
  [https://xxxx.com/img.png,https://xxxx.com/img.jpg]

your get link or images at URL.

## Examples

  iex> Thief.steal( "https://xxxx.com" , "/xxx/xxxx.html" )
  [https://xxxx.com/img.png,https://xxxx.com/img.jpg]

  iex> Thief.steal( "https://xxxx.com" )
  [https://xxxx.com/img.png,https://xxxx.com/img.jpg]
Link to this function

steal_link(domain, path) View Source

Thief.steal make a list of URLs and create a list of image downloads. We only get lists within the domain.

Examples

iex> list = Thief.steal_link( domain, path )
[https://xxxx.com/img.png,https://xxxx.com/img.jpg]