1
0
Fork 0
mirror of https://gitlab.com/news-flash/article_scraper.git synced 2025-07-07 16:15:32 +02:00

fix conditional cleaning class weight

This commit is contained in:
Jan Lukas Gernert 2023-03-02 01:08:52 +01:00
parent 02e043f6de
commit df41e690ae

View file

@ -552,7 +552,7 @@ impl Util {
let weight = Self::get_class_weight(node);
if weight < 0 {
return false;
return true;
}
if Self::get_char_count(node, ',') < 10 {