New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improved Crawly.fetch/2 to accept fetching with a spider #107
Conversation
Updated, tests passes on my side, should be ok to merge. |
Looks extremely good. The question is: "Can we move it outside of the main module? E.g. I want to shrink the crawly.ex" @Ziinc could you fix the test, alternatively, I can pick it up if you don't have time right now. |
We could move to |
* Add support of initial arguments Implemented as a part of #126 feature request * updated tests, added docs Co-authored-by: Ziinc <ty@tzeyiing.com>
Yeah. I have the same feelings. I was thinking of splitting parts related to Crawly from parts related to spiders into separate modules. Maybe it could make these modules small. In any case, can be done later on separately. Could you rebase it, so I will check again. |
@Ziinc I am about to cut off a new release. Could you please rebase this change, so I can include it as well? |
…/crawly into 52-improve-fetch-with-option
Done! |
for #52, implements a
:with
option that allows the passing of the spider name.Breaking changes includes moving of the
headers
andoptions
parameters to theopts
parameter, as keyword lists instead of positional args.