elixir-crawly / crawly

Crawly, a high-level web crawling & scraping framework for Elixir.
https://hexdocs.pm/crawly
Apache License 2.0
953 stars 112 forks source link

[Fix] Resolve Protocol.UndefinedError by using fallback #287

Closed OldhamMade closed 3 months ago

OldhamMade commented 5 months ago

Fixes an issue where :requests is nil but the following lines expect an empty list.

This was a quick fix for my own project, so I haven't put together any tests yet. However, all current tests pass locally.

OldhamMade commented 3 months ago

Done!