Matthias Endler
Matthias Endler
For HTML that would work as the tags have names. Not sure about Markdown or Plaintext. If we add an option like `--exclude-tags=pre,code`, what would be the behavior for Markdown?...
Agree with both of your comments. I guess your ideas would fit together quite nicely. The collector could return links with a `tag` field, that would be an HTML tag....
That's odd. If this is a file with a `.html` extension, it should have skipped that shortened version. Can you double check that this is the case?
As a workaround for HTML tags, I wonder if lychee could be combined with [htmlq](https://github.com/mgdm/htmlq) or something similar. ``` htmlq --invert 'pre' | htmlq --invert 'code' | lychee ``` The...
Wait, you say liche supported this? Can you post an example that you used before? Can't find much about it in their repo.
> We have at least one web application where indeed an invalid example email is required for initial login, from where it can be changed 😉. That sounds more like...
> liche excludes code and pre tags OOTB That's smart. Starting to work on that as part of https://github.com/lycheeverse/lychee/issues/414.
As part of https://github.com/lycheeverse/lychee/pull/424 I added `element` and `attribute` to the `Request` struct now. It's not exposed to the CLI yet, but with that we can add exclusion based on...
Examples for CSS selectors, that we could support eventually. I saw these being used in an internal tool. ```css a[href] [href=*='*.js'] [src*='.js'] ```
Yeah I think selectors are the better abstraction over filtering by element name. I'm a bit concerned about the overhead. @untitaker would filtering by CSS selector still be within the...