Open cicdguy opened 1 year ago
Thanks for creating the issue. I think we should discuss that with the folks at linkify, which is the plaintext parser we use. I don't know if it will be an easy fix for them, though. 😕 Could you still open an issue over there and ask for feedback?
@mre - thank you for your response. Yes, definitely, I can open an issue there and request feedback.
@robinst suggested using a CSV parser and pass individual cells to linkify. This has a few advantages:
I think this is the way forward. @cicdguy, perhaps you want to close the linkify issue again, and we can focus on fixing this issue in lychee itself as per the above plan? What do you think? 😃
Sounds great. Thank you @mre!
Hello,
I'm using lychee 0.13.0 and running it against this file: https://github.com/pharmaverse/admiraldiscovery/blob/06e6e55b884ef91de9ae457606ed66defc9dba14/data-raw/admiral-lookup-book.csv
Like so:
And I get the following result:
When I modify the file by adding quotes around the URLs in the CSV, I get the correct expected result.
Although commas are allowed/safe characters in URLs, will it be possible for Lychee to detect CSV files and extract URLs from it without having to wrap the URL strings in quotes?