/hisn-muslim-scrapping

A sample JavaScript/NodeJs scrapper project based on hisnmuslim API to use all off the test & audios offline without the connecting with the original api

Primary LanguageJavaScriptMIT LicenseMIT

husn muslim scrapper

About

A sample JavaScript/NodeJs scrapper project based on hisnmuslim API to use all off the test & audios offline without the connecting with the original api

Features

  • get all the adhkars as text in ARABIC & ENGLISH
  • download audio's of the adhkars
  • merge all of these info in one place in json file as a book

Project Structure & files functionality

  • index.js fetch & create adkar main page in one json file
  • fetch.js fetch/download the dikr text & audio
  • merge.js merge/concat the data commes from index.js & fetch.js
  • fetch-sub.js fetch sub adkar related to the main adkar fetched in fetch.js

Requirements

Download

you can clone this repository or download as zip file

Install Dependencies

npm install

or

yarn install

Usage

the default language of the data fetched is AR

Developement

npm dev

or

yarn dev
  • fetch with english translation
npm dev:en

or

yarn dev:en

Production

npm start

or

yarn start
  • fetch with english translation
npm start:en

or

yarn start:en

Custom

you can also run specifie step see scripts properties this need you to be a developer

Thanks

thenk you very much for the hisnmuslim owner(s), baraka llaho fika

License

MIT