Simple scrapper using aiohttp and pyquery to get Praytime for moslem people, this api is hosted on server right here π, for location type it after domain to preffer by your location ex. muslimpro-scrapper.lleans.dev/Tokyo(your location here)
On this version the data structure will be change (read demo.py
), now you can see the 30 days of praytime to make your life easier π
You can see the option by importing class with name CalculationMethod
and AsrjuristicMethod
, same with the api request you need to pass The Variable Name on Const Class on params calcMethod
asrjurMethod
, here the list of it
Here some refrece for calculation method
If you want to use this on your local machine, download this repo, and make sure you run on virtualenv(it's optional)
- Open terminal on the repo just you download, then run π
pip install -r requirements.txt
to install required library - Then read and run it(dont mind the error, it's just for example) π
press f5 if you on vscode
python demo.py
if you using terminal
about that, if you wanted to install this repo as library search on google pip install from github, currently i dont wanna this published on PyPi i just wanna keep this humble on underground library, let's see if i need it to published later