Last active
April 19, 2021 20:14
-
-
Save oltarasenko/e509075ad0117829930888cdffecdb82 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# in config.exs | |
import Config | |
config :crawly, | |
# Important part here. We want crawly to use ChromeDriverFetcher. | |
fetcher: {ChromeDriverFetcher, []}, | |
closespider_timeout: :disabled, | |
closespider_itemcount: :disabled, | |
concurrent_requests_per_domain: 2, | |
middlewares: [ | |
Crawly.Middlewares.DomainFilter, | |
Crawly.Middlewares.UniqueRequest | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment