dobomode / coursera-scraper

A lightweight Node.js app to fetch assets / videos for Coursera courses.
MIT License
38 stars 13 forks source link

Removing not allowed characters from module names before saving content #7

Closed machur closed 3 years ago

machur commented 3 years ago

I tried to download Coursera content with the scraper, but it kept failing on writing asset files to disk on Windows. I've removed special characters from module names while saving assets as well.

dobomode commented 3 years ago

There was a similar issue with saving videos, and there was a fix for that as per #5 . This PR replicates this solution for saving assets as well. Cheers