Thief v0.1.1 Thief View Source
Documentation for Thief. Scrape and get image link"
Link to this section Summary
Functions
Get a list of links within the domain." "
Thief.save Save the created list as a file
Return a list of links from the body element
Collect the linked image links and return the list
Return a list of image links from the body element
Collect the linked image links and return the list
Collect the linked 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
Link to this section Functions
get_domain_img(domain, path) View Source
Get a list of links within the domain." "
Examples
iex> Thief.get_domain_link(domain, path ) [https://xxxx.com/img.png,https://xxxx.com/img.jpg]
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_html(url) View Source
Return a list of links from the body element.
## Examples
iex> list = Thief.get_links(body) ["https://xxxxx.com/", "https://xxxxx.com/"]
get_imgs(body) View Source
Collect the linked image links and return the list.
## Examples
iex> Thief.getimage( url ) [https://xxxx.com/img.png,https://xxxx.com/img.jpg]
get_links(body) View Source
Return a list of image links from the body element.
## Examples
iex> Thief.get_imgs(body) ["https://xxxxx.com/", "https://xxxxx.com/"]
getimage(url) View Source
Collect the linked image links and return the list.
Examples
iex> Thief.getlink( url ) [https://xxxx.com/img.png,https://xxxx.com/img.jpg]
getlink(url) 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]
save(list, file_name) 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( domain, path )
[https://xxxx.com/img.png,https://xxxx.com/img.jpg]
steal(domain, path) View Source
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]