Parsing with different IPs?
Closed this issue · 2 comments
nik736 commented
Great library!
I am new to Crystal and I am wondering how one would use your library with multiple IPs? With curl I can simply add a --interface parameter, is something like this possible with Crystagiri?
Thanks
madeindjs commented
For the moment it's not possible with Crystagiri::HTML.from_url
because from_url
method only take URL argument (no configuration).
from_url
simply use http/client
standard library to get retreive HTML content. So I think you have two solutions:
- Retreive HTML content with your custom
http/client
then useCrystagiri::HTML.new
- Implement a new method
Crystagiri::HTML.from_url
who allow some parameter
If you think you can do the second method I will accept your MR with pleasure 😄
madeindjs commented
Closed because of inactivity