openzim / openedx

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

Get CSS recursively from instance #95

Closed satyamtg closed 4 years ago

satyamtg commented 4 years ago

This gets the CSS files recursively from the instance by getting the dependencies from the CSS imported within other CSS using the @import keyword. This fixes the fonts with the PHZH instance.

The following changes are introduced to fix #94:

rgaudin commented 4 years ago

Can you please add noqa comments to bypass the codefactor here as we're using md5 for hashes and not security?

satyamtg commented 4 years ago

Can you please add noqa comments to bypass the codefactor here as we're using md5 for hashes and not security?

Changed that to a purely non cryptographic thing, xxhash64