Skip to content

sonic182/links_fetcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LinksFetcher

Sample links fetcher.

It crawls given url in parallel spawning processes and using hackney.

At this time just crawls relative paths in given url.

Installation

The package can be installed by adding links_fetcher to your list of dependencies in mix.exs:

def deps do
  [
    {:links_fetcher, "~> 0.2.0"}
  ]
end

Example

iex> LinksFetcher.fetch_links("https://www.google.com", 1)
  ["/intl/es_es/policies/privacy/?fg=1", "/intl/es_es/policies/terms/?fg=1", "/preferences?hl=es", "/calendar?tab=wc"]