0.5.2 • Published 2 years ago

scrap-jalali-holidays v0.5.2

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

What is this library?

This library can be used for extracting jalali holidays from badesaba.ir API. It has a CLI by which you can specify a range of dates and get the holidays in that range.

How to use the CLI?

scrap-jalali-holidays [options]
OptionDescriptionDefault
--from from date (YYYY-MM format)1350-01
--to to date (YYYY-MM format)1450-12
--scrap-occasionswhether to scrap occasions or notfalse
--output-ext extension of output file (jsjson)js
--output-dir directory of output fileN/A

There is a field created_at in the output json, which the script uses later to override the from date, so if you want to opt out of this feature, you can use --force-update option.

0.5.2

2 years ago

0.5.1

2 years ago

0.5.0

2 years ago

0.4.0

2 years ago

0.3.0

2 years ago

0.2.0

2 years ago

0.1.0

2 years ago