openzim / openedx

Open edX (to zim) scraper
GNU General Public License v3.0
8 stars 7 forks source link

Move instance config to parameters #86

Closed rgaudin closed 4 years ago

rgaudin commented 4 years ago

Currently, the per-instance configuration is hard-coded in INSTANCE_CONFIGS

https://github.com/openzim/openedx/blob/c9e3883242bd559a474f193123c7ce766ccdfe2d/openedx2zim/constants.py#L44-L77

As with mwoffliner, where we have parameters to change the expected paths to the API and stuff, we should have parameter for those. This will remove those hard-coded values and enable usage of other instances via recipe configuration.