Giter Site home page Giter Site logo

imbibler's People

Contributors

anoved avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

redavis22

imbibler's Issues

Add example section to Readme

Add an Examples section to the Readme to illustrate more explicitly how to retrieve different versions of the Bible from Bible Gateway.

Error in: imbibler.rb:33:in `ReadBookChapter': undefined method `[]' for nil:NilClass (NoMethodError)

Thanks for this tool - very useful for me to pull bible text and convert to a command-line tool :
https://github.com/ipstone/kjv

I ran into this error while trying to download the Chinese union version:
imbibler.rb:33:in ReadBookChapter': undefined method []' for nil:NilClass (NoMethodError)

What might be the reason for this? Other versions such as kjv are downloaded fine. Might this be the language issue?

Here is the full output:

ruby imbibler.rb cuv.csv "https://www.biblegateway.com/versions/Chinese-Union-Version-Traditional-CUV/"
imbibler.rb:108: warning: URI.escape is obsolete
imbibler.rb:108: warning: calling URI.open via Kernel#open is deprecated, call URI.open directly or use URI#open
Reading 創 世 記 1:
imbibler.rb:28: warning: URI.escape is obsolete
imbibler.rb:28: warning: calling URI.open via Kernel#open is deprecated, call URI.open directly or use URI#open
Traceback (most recent call last):
        6: from imbibler.rb:152:in `<main>'
        5: from imbibler.rb:114:in `ReadIndex'
        4: from /home/isaacpei/.gem/ruby/2.7.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/node_set.rb:237:in `each'
        3: from /home/isaacpei/.gem/ruby/2.7.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/node_set.rb:237:in `upto'
        2: from /home/isaacpei/.gem/ruby/2.7.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/node_set.rb:238:in `block in each'
        1: from imbibler.rb:130:in `block in ReadIndex'
imbibler.rb:33:in `ReadBookChapter': undefined method `[]' for nil:NilClass (NoMethodError)

Thanks a lot!

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.