update mishkat ingestion
This commit is contained in:
parent
3927e8eba1
commit
cf02b918b8
File diff suppressed because it is too large
Load Diff
|
|
@ -10,12 +10,13 @@ echo "=== Starting Full HadithAPI Ingestion ==="
|
|||
BOOKS=(
|
||||
# "sahih-bukhari"
|
||||
# "sahih-muslim"
|
||||
"abu-dawood"
|
||||
# "abu-dawood"
|
||||
# "al-tirmidhi"
|
||||
"ibn-e-majah"
|
||||
"sunan-nasai"
|
||||
# "ibn-e-majah"
|
||||
# "sunan-nasai"
|
||||
# "musnad-ahmad"
|
||||
# "al-silsila-sahiha"
|
||||
"mishkat"
|
||||
)
|
||||
|
||||
for BOOK in "${BOOKS[@]}"; do
|
||||
|
|
|
|||
|
|
@ -265,7 +265,7 @@ class HadithAPIClient(BaseAPIClient):
|
|||
# Process each chapter
|
||||
for chapter in chapters:
|
||||
# logger.warning("Processing chapter", chapter=chapter)
|
||||
if book_slug in {'sahih-muslim','al-tirmidhi','al-silsila-sahiha','abu-dawood','sunan-nasai','ibn-e-majah'}:
|
||||
if book_slug in {'sahih-muslim','al-tirmidhi','al-silsila-sahiha','abu-dawood','sunan-nasai','ibn-e-majah','mishkat'}:
|
||||
chapter_id = chapter.get('chapterNumber')
|
||||
else:
|
||||
chapter_id = chapter.get('id')
|
||||
|
|
|
|||
Loading…
Reference in New Issue