Giter Club home page Giter Club logo

Comments (7)

zongwu233 avatar zongwu233 commented on May 28, 2024 1

I guess I found the reason. I checked the code of version 0.14 that the local project depends on, and
It is strange that there is no below implementation code in the Request :

defimpl String.Chars, for: Crawly.Request do
  def to_string(s) do
    inspect(s)
  end
end

But the master branch have it.
Is there a problem with the release of 0.14 code?

from crawly.

oltarasenko avatar oltarasenko commented on May 28, 2024

Hey @assertnotnull the code above seem to work fine for me:

iex(2)>
10:45:07.962 [warning] Description: 'Server authenticity is not verified since certificate path validation is not enabled'
     Reason: 'The option {verify, verify_peer} and one of the options \'cacertfile\' or \'cacerts\' are required to enable this.'

[
  %{
    name: "Judas Priest",
    url: "https://www.metal-archives.com/bands/Judas_Priest/97"
  }
]

10:45:09.800 [debug] Stored item: %{name: "Judas Priest", url: "https://www.metal-archives.com/bands/Judas_Priest/97"}

Could you provide a bit more info about the case? To me it looks like you have a problem with one of inspects in the code above.

from crawly.

oltarasenko avatar oltarasenko commented on May 28, 2024

Hey @assertnotnull the code above seem to work fine for me:

iex(2)>
10:45:07.962 [warning] Description: 'Server authenticity is not verified since certificate path validation is not enabled'
     Reason: 'The option {verify, verify_peer} and one of the options \'cacertfile\' or \'cacerts\' are required to enable this.'

[
  %{
    name: "Judas Priest",
    url: "https://www.metal-archives.com/bands/Judas_Priest/97"
  }
]

10:45:09.800 [debug] Stored item: %{name: "Judas Priest", url: "https://www.metal-archives.com/bands/Judas_Priest/97"}

Could you provide a bit more info about the case? To me it looks like you have a problem with one of inspects in the code above.

from crawly.

zongwu233 avatar zongwu233 commented on May 28, 2024

I have the same problem.

Elixir 1.14.3 (compiled with Erlang/OTP 25)
Crawly 0.14

from crawly.

zongwu233 avatar zongwu233 commented on May 28, 2024

Yeah, I directly dependet on the master branch in mix.exs, and the error disappears.

from crawly.

oltarasenko avatar oltarasenko commented on May 28, 2024

Strange. @zongwu233, as I see that code was added 6 months ago. In any case, I am preparing the 0.15.0, so hopefully it will disappear soon.

from crawly.

oltarasenko avatar oltarasenko commented on May 28, 2024

Strange. @zongwu233, as I see that code was added 6 months ago. In any case, I am preparing the 0.15.0, so hopefully it will disappear soon.

from crawly.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.