<FromGitter>
<Dan-Do> So, it should be `parser = Lexbor::Parser.new(verse_response.body, encoding: Lexbor::EncodingConverter.new("cp1251", "utf-8"))`
ua_ has quit [Quit: Leaving]
ua_ has joined #crystal-lang
ua_ has quit [Ping timeout: 268 seconds]
ua_ has joined #crystal-lang
ur5us has quit [Ping timeout: 264 seconds]
<frojnd>
@Dan-Do yeah, I had to do it like that: `parser = Lexbor::Parser.new(Lexbor::EncodingConverter.new("windows-1250", "utf-8"), verse_response.body)`
ur5us has joined #crystal-lang
ur5us has quit [Ping timeout: 260 seconds]
guniberas has joined #crystal-lang
<frojnd>
Any ideas on how to get only text: "foo bar text" without "baz text" https://carc.in/#/r/c6v9
<frojnd>
Like, I would just like text inside .text class but exclude from class .ft
<frojnd>
Ah, that .ft class name is changing :/
hightower2 has joined #crystal-lang
guniberas has quit [Ping timeout: 268 seconds]
Guest51 has joined #crystal-lang
Guest51 has quit [Client Quit]
taupiqueur has joined #crystal-lang
dmgk has joined #crystal-lang
<FromGitter>
<plambert> Anyone know how I can do a reverse DNS lookup from crystal? i.e. a PTR dns request for x.x.x.x.in-addr.arpa?
<FromGitter>
<plambert> I'm hoping I can do it without using a resolver library like crystal-dns, or writing my own resolver...
<FromGitter>
<aaaScript> @plambert I think your best bet if you don't want to to use a full library may be to rip out the functionality that you need. I took al look at the library that you mentioned (https://gitlab.com/jgillich/crystal-dns) and it looks very neatly organized so the task itself shouldn't be too difficult