Not fully working
This commit is contained in:
parent
cc53817dd8
commit
72511e8c4c
7
main.py
7
main.py
@ -84,14 +84,10 @@ convert = dict([
|
|||||||
("Zeph", "Zephaniah"),
|
("Zeph", "Zephaniah"),
|
||||||
("Song", "Song of Songs"),
|
("Song", "Song of Songs"),
|
||||||
("Hag", "Haggai"),
|
("Hag", "Haggai"),
|
||||||
("Wis", "Wisdom of Solomon"),
|
|
||||||
("2John", "2John"),
|
("2John", "2John"),
|
||||||
("2Macc", "2 Maccabees"),
|
|
||||||
("Nah", "Nahum"),
|
("Nah", "Nahum"),
|
||||||
("Sir", "Ecclesiasticus"),
|
|
||||||
("Psa", "Psalms"),
|
("Psa", "Psalms"),
|
||||||
("1Macc", "1 Maccabees"),
|
("2Peter", "2Peter")
|
||||||
("2Peter", "2 Peter"),
|
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -396,6 +392,7 @@ class MyHTMLParser(HTMLParser):
|
|||||||
# Need this do the regex in self.clean does not pick
|
# Need this do the regex in self.clean does not pick
|
||||||
# this up. Will be also cleaned in the same function.
|
# this up. Will be also cleaned in the same function.
|
||||||
self.write_to_file('Passage: ')
|
self.write_to_file('Passage: ')
|
||||||
|
|
||||||
if self.tag_type == 'end':
|
if self.tag_type == 'end':
|
||||||
self.write_to_file('\n\n')
|
self.write_to_file('\n\n')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user