added note
This commit is contained in:
parent
7e11f29810
commit
7a48626369
@ -202,6 +202,15 @@ soup = BeautifulSoup(Path('./vol_1.xml').read_text(), 'xml')
|
||||
for i in soup.find_all('scripRef'):
|
||||
i.clear()
|
||||
|
||||
# May need to add a loop to look in all <p class='passage> and
|
||||
# unrap any scripref that is in them. the place Dan is getting confused
|
||||
# with the book Daniel.
|
||||
# ??????????
|
||||
# for passage in soup.find_all('p', class='passage'):
|
||||
# for ref in passafe.find_all('scripRef'):
|
||||
# ref.unwrap()
|
||||
|
||||
|
||||
for book in soup.find_all('div1')[2:]:
|
||||
# this is the folder for the books
|
||||
print(book.attrs)
|
||||
|
Loading…
Reference in New Issue
Block a user