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.
Scrapy, check installation steps on http://doc.scrapy.org/en/latest/intro/install.html
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
c = City d = Day s = Shubuh t = Terbit z = dZuhur a = Ashar m = Maghrib i = Isya