Closed baccccccc closed 1 day ago
Can not reproduce issue 1 and 3, may be OS specific. What operating system are you running CDL on?
Issue 2 is intentional. The first column is the URL and without the padding, every editor (VScode
, notepad
, micro
, etc.) parses the next word as part of the URL, not just the first column. If you try to click on it, it will open an invalid page, probably a 404
Ex: https://github.com/jbsparrow/CyberDropDownloader,CSV formatting issues,251
is a valid CSV row of 3 columns, no restricted characters. But editors will parse the URL as https://github.com/jbsparrow/CyberDropDownloader,CSV
Other workarounds could be:
Padding only the URL will make the formatting inconsistent. Quoting would require quoting every value of every column. Either one could be implemented but it narrows down to being a personal preference.
yeah, I should have probably file three separate issues for that.
Unsupported_URLs.csv
and no other files. (The remaining two issues happen to all .csv files consistently.)0×0D
, 0×0D
, 0×0A
, or CRCRLF
. This is a bit weird, although apparently a known issue with some apps, based on this SO thread.Now, the thing is that different Windows apps seem to handle this situation differently, which is not great. More specifically:
CR
.Get-Content
displays an empty line between each line, i.e. it processes each CR
separately. Import-Csv
swallows empty lines, i.e. behaves similarly to Notepad.All of these are easy fixes. They will be implemented in the next version but it might take a few days to be released cause there is some other big stuff going on which also need to be addressed.
Thanks for the report
Hello! First of all, thanks for following up on #210 and converting logs to CSV!
I found a few irregularities. Maybe there are more, I have not looked very thoughtfully yet.