Skip to content

Scrapy project for grabbing shalat or adzan schedule for Indonesia country based on http://jadwalsholat.pkpu.or.id/

License

Notifications You must be signed in to change notification settings

ardianys/jadwalsholat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jadwalsholat

Grab Shalat / Adzan schedule for Indonesia country based on http://jadwalsholat.pkpu.or.id/

This is a Scrapy project to scrape adzan schedules in Indonesia

This project is only meant for educational purposes.

Requirement

Scrapy, check installation steps on http://doc.scrapy.org/en/latest/intro/install.html

How to use

You can choose output format between json and csv

  • scrapy crawl jadwalsholat -a city_id=83 -o jadwal.json
  • scrapy crawl jadwalsholat -a city_id=83 -o jadwal.csv

You can add date variable in output filename to store the result based on date

scrapy crawl jadwalsholat -a city_id=83 -o "$(date +'%Y-%m').json"

It would generate file like this

/home/user/jadwalsholat/2015-08.json

Column description

c = City d = Day s = Shubuh t = Terbit z = dZuhur a = Ashar m = Maghrib i = Isya

About

Scrapy project for grabbing shalat or adzan schedule for Indonesia country based on http://jadwalsholat.pkpu.or.id/

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages