From a7e8661a098599184150757d315b0e891419161b Mon Sep 17 00:00:00 2001 From: Jan Lukas Gernert Date: Tue, 1 Aug 2023 18:37:55 +0200 Subject: [PATCH] update tests & defined youtube iframe height --- .../resources/tests/ftr/youtube/expected.html | 2 +- .../readability/bug-1255978/expected.html | 13 ++- .../firefox-nightly-blog/expected.html | 6 +- .../readability/wikipedia-2/expected.html | 88 +++++++++---------- .../readability/wikipedia-3/expected.html | 2 +- article_scraper/src/clean.rs | 2 +- article_scraper/src/full_text_parser/mod.rs | 2 +- 7 files changed, 63 insertions(+), 52 deletions(-) diff --git a/article_scraper/resources/tests/ftr/youtube/expected.html b/article_scraper/resources/tests/ftr/youtube/expected.html index 1213034..1ec3c5a 100644 --- a/article_scraper/resources/tests/ftr/youtube/expected.html +++ b/article_scraper/resources/tests/ftr/youtube/expected.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/article_scraper/resources/tests/readability/bug-1255978/expected.html b/article_scraper/resources/tests/readability/bug-1255978/expected.html index 12043fb..bcd0d9f 100644 --- a/article_scraper/resources/tests/readability/bug-1255978/expected.html +++ b/article_scraper/resources/tests/readability/bug-1255978/expected.html @@ -27,7 +27,18 @@

Forrest Jones said that anything that comes into contact with any of the previous guest’s skin should be taken out and washed every time the room is made, but that even the fanciest hotels don’t always do so. "Hotels are getting away from comforters. Blankets are here to stay, however. But some hotels are still hesitant about washing them every day if they think they can get out of it," he said.

- +
+ + + + +

Play Video

+ + + + + +

Video shows bed bug infestation at New York hotel

diff --git a/article_scraper/resources/tests/readability/firefox-nightly-blog/expected.html b/article_scraper/resources/tests/readability/firefox-nightly-blog/expected.html index 77e6e10..28cc0c9 100644 --- a/article_scraper/resources/tests/readability/firefox-nightly-blog/expected.html +++ b/article_scraper/resources/tests/readability/firefox-nightly-blog/expected.html @@ -16,7 +16,7 @@