Frédéric Guillot
2cfeefc8d2
test(processor): increase test coverage for parseISO8601Duration
2025-07-07 17:01:10 -07:00
jvoisin
b48e6472f5
refactor(processor): parse ~ISO8601 in a proper way
...
Instead of using an ugly (and incomplete) regex, let's use a simple for-loop to
parse ISO8601 dates, and make it explicit that we're only supporting a subset
of the spec, as we only care about youtube video durations.
2025-07-07 16:28:58 -07:00
Julien Voisin
2b26a345cd
perf(processor): minify content even further
...
There is no need to keep comments (conditionals or not, as IE isn't a thing
anymore), nor default attribute values.
2025-06-29 12:55:34 -07:00
Frédéric Guillot
bc6ab44ff2
fix(filter): skip invalid rules instead of exiting the loop
2025-06-19 12:36:35 -07:00
Frédéric Guillot
6282ac1f38
refactor(processor): move filters to a filter
package
2025-06-19 12:06:30 -07:00
jvoisin
fe4b00b9f8
refactor(processor): extract some functions into an utils.go file
2025-06-19 11:43:47 -07:00