openzim / openedx

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

Fix path errors #91

Closed satyamtg closed 4 years ago

satyamtg commented 4 years ago

This fixes #89 by writing only the filename if asset is at the root relative to the HTML. Also, add support for jump_to_xblock kind of link found in PHZH for links rewriting. Moreover, this also ensures that the display_name is not empty for any xblock as it would result in root relative links which are forbidden in ZIM.