Giter VIP home page Giter VIP logo

meaningless's People

Contributors

daniel-tran avatar sebastiancarlos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

meaningless's Issues

Download of Psalm 119 limited to 100 verses

Download of Psalm 119 was limited to 100 verses. Issue resolved when max_value of common.py / get_capped_integer increased from 100 to 176 in function get_capped_integer(number, min_value=1, max_value=176). Incidentally, I think get_end_of_chapter() can also be changed to return 176 since that is the maximum number of verses in any chapter of Bible i.e. Psalm 119

change translation?

I'm rather new to Python and, though I figured out most of the rest your app, I cannot find a way to change the translation. It always prints NIV. Am I able to pass it as a string for my simple python script?

[Feature/Improvement] Get a list of translations

It would be helpful to be able to generate from the library a list/dictionary of the supported translations, ideally both their full name and their 'code'. That way you could, for example, easily generate a drop-down list of translations (and it would automatically update if another translation is supported).

[Bug] cannot seem to get verse over 100

Summary of the problem

i was trying to extract / download the book of Psalms. noticed the extractor / downloader on chapter 119 is stopped on verse 100. trying to manually set passage_range, e.g extractor.get_passage_range(book="NASB1995", chapter_from=119, chapter_to=119, passage_from=101, passage_to=176) returns the chapter 119, verse 100.

Expected Behaviour

should extract / download the required passage after 100.

Steps to replicate the problem

  • create a new python project
  • install the meaningless python package.
  • add from meaningless import WebExtractor.
  • set up extractor
  • print the extractor result.
from meaningless import WebExtractor

extract = WebExtractor(translation="NASB1995")
passage = extract.get_passage_range(book="Psalms", chapter_from=119, chapter_to=119, passage_from=101, passage_to=176)
print(passage)

# above code prints:
# ¹⁰⁰ I understand more than the aged,
# Because I have observed Your precepts.

Environment

  • Python version: 3.10.12
  • Operating system: Linux (Ubuntu 22.04.3 LTS)
  • Library version: 1.0.0

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.