IgnoredAmbience / yahoo-group-archiver

Scrapes and archives a Yahoo groups email archives, photo galleries and file contents using the non-public API
MIT License
93 stars 45 forks source link

Improve sanitisation of written folder and file names #60

Closed IgnoredAmbience closed 5 years ago

IgnoredAmbience commented 5 years ago

Folder and file names on Yahoo can contain all sorts of weird characters that can break both linux and especially windows paths.

Add sanitisation functions and apply to Mkchdir, and all locations at which download_file is called with a file parameter.

Remove existing half-correct sanitisation.

Fixes #53