Skip to content

Commit

Permalink
#30 New endpoint that still returns offline zip (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
martijnlentink authored Sep 20, 2024
1 parent 9363a5b commit 3db2f84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bible_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ def process_bible_files(location, usx_folder):
file.write(toxml(usx))

def retrieve_bible_metadata(book_id):
book_metadata_resp = get(f"https://www.bible.com/api/bible/version/{book_id}")
book_metadata_resp = get(f"https://nodejs.bible.com/api/bible/version/3.3?id={book_id}")
return book_metadata_resp.json()

def construct_metadataxmls(output_file_loc, book_metadata):
Expand Down

0 comments on commit 3db2f84

Please sign in to comment.