paljsingh / impartus-downloader

Download Impartus lectures, convert to mkv for offline viewing.
GNU General Public License v3.0
23 stars 8 forks source link

[Bug]: ':' character not filtered in the file paths, on mac Finder.app it shows as '/' character. #71

Closed paljsingh closed 3 years ago

paljsingh commented 3 years ago

OSX UI apps for historical reasons use ':' as file separator (since HFS days), The posix based cli tools allow ':' character in the file name, but the same is shown in Finder.app as '/' character.

https://apple.stackexchange.com/questions/173529/when-did-the-colon-character-become-an-allowed-character-in-the-filesystem

Filter out ':' character in the filepath structure to keep the discrepancy away.