Skip to content

Commit

Permalink
Merge e5f93e7 into c95b798
Browse files Browse the repository at this point in the history
  • Loading branch information
oltarasenko committed Apr 10, 2020
2 parents c95b798 + e5f93e7 commit f399860
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 232 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,13 @@ historical archival.
middlewares: [
Crawly.Middlewares.DomainFilter,
Crawly.Middlewares.UniqueRequest,
Crawly.Middlewares.UserAgent
{Crawly.Middlewares.UserAgent, user_agents: ["Crawly Bot"]}
],
pipelines: [
{Crawly.Pipelines.Validate, fields: [:url, :title]},
{Crawly.Pipelines.DuplicatesFilter, item_id: :title},
Crawly.Pipelines.JSONEncoder,
{Crawly.Pipelines.WriteToFile, extension: "jl", folder: "/tmp"} # NEW IN 0.7.0
{Crawly.Pipelines.WriteToFile, extension: "jl", folder: "/tmp"}
],
port: 4001
```
Expand Down Expand Up @@ -108,7 +108,7 @@ You can read more here:

1. [x] Pluggable HTTP client
2. [x] Retries support
3. [ ] Cookies support
3. [x] Cookies support
4. [x] XPath support - can be actually done with meeseeks
5. [ ] Project generators (spiders)
6. [ ] UI for jobs management
Expand Down
147 changes: 0 additions & 147 deletions documentation/introduction.md

This file was deleted.

78 changes: 0 additions & 78 deletions documentation/quickstart.md

This file was deleted.

2 changes: 1 addition & 1 deletion lib/crawly/manager.ex
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ defmodule Crawly.Manager do

maybe_stop_spider_by_timeout(
state.name,
items_count,
delta,
closespider_timeout_limit
)

Expand Down
5 changes: 2 additions & 3 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,12 @@ defmodule Crawly.Mixfile do

defp extras do
[
"documentation/introduction.md",
"documentation/quickstart.md",
"documentation/tutorial.md",
"documentation/basic_concepts.md",
"documentation/configuration.md",
"documentation/http_api.md",
"documentation/ethical_aspects.md"
"documentation/ethical_aspects.md",
"README.md": [title: "Introduction", file: "README.md"]
]
end
end

0 comments on commit f399860

Please sign in to comment.