Skip to content

Commit

Permalink
Fix quickstart
Browse files Browse the repository at this point in the history
  • Loading branch information
oltarasenko committed Apr 27, 2020
1 parent 9154a1c commit 37f0cf4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -24,7 +24,7 @@ historical archival.
# mix.exs
defp deps do
[
{:crawly, "~> 0.8.0"},
{:crawly, "~> 0.9.0"},
{:floki, "~> 0.26.0"}
]
end
Expand Down Expand Up @@ -80,13 +80,13 @@ historical archival.
{Crawly.Pipelines.Validate, fields: [:url, :title]},
{Crawly.Pipelines.DuplicatesFilter, item_id: :title},
Crawly.Pipelines.JSONEncoder,
{Crawly.Pipelines.WriteToFile, extension: "csv", folder: "/tmp"}
{Crawly.Pipelines.WriteToFile, extension: "jl", folder: "/tmp"}
]
```
5. Start the Crawl:
- `$ iex -S mix`
- `iex(1)> Crawly.Engine.start_spider(EslSpider)`
6. Results can be seen with: `$ cat /tmp/EslSpider.csv`
6. Results can be seen with: `$ cat /tmp/EslSpider.jl`

## Browser rendering

Expand Down

0 comments on commit 37f0cf4

Please sign in to comment.