From 3ac15805b340f9357fdf23cda214aad1a7d7f2f0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sat, 7 Jan 2023 16:57:32 +0100 Subject: [PATCH] =?utf8?q?=F0=9F=90=9B=20Fix=20=E2=80=9CAdventures=20with?= =?utf8?q?=20Eggie=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Sometimes there’s more than one image! I have been missing so much! --- .../comics/AdventuresWithEggieComicSiteFilter.kt | 2 +- .../AdventuresWithEggieComicSiteFilterTest.kt | 5 +- .../filters/comics/adventures-with-eggie.html | 1170 ++++++++++---------- 3 files changed, 592 insertions(+), 585 deletions(-) diff --git a/src/main/kotlin/net/pterodactylus/rhynodge/filters/comics/AdventuresWithEggieComicSiteFilter.kt b/src/main/kotlin/net/pterodactylus/rhynodge/filters/comics/AdventuresWithEggieComicSiteFilter.kt index 4975fb5..5d9b8fb 100644 --- a/src/main/kotlin/net/pterodactylus/rhynodge/filters/comics/AdventuresWithEggieComicSiteFilter.kt +++ b/src/main/kotlin/net/pterodactylus/rhynodge/filters/comics/AdventuresWithEggieComicSiteFilter.kt @@ -12,7 +12,7 @@ class AdventuresWithEggieComicSiteFilter : ComicSiteFilter() { document.select(".comments-title span").text().asOptional() override fun extractImageUrls(document: Document) = - document.select("#one-comic-option img.size-full").map(Element::sourceAttribute) + document.select("#one-comic-option img").map(Element::sourceAttribute) override fun extractImageComments(document: Document) = emptyList() diff --git a/src/test/java/net/pterodactylus/rhynodge/filters/comics/AdventuresWithEggieComicSiteFilterTest.kt b/src/test/java/net/pterodactylus/rhynodge/filters/comics/AdventuresWithEggieComicSiteFilterTest.kt index 6da9cb2..181f660 100644 --- a/src/test/java/net/pterodactylus/rhynodge/filters/comics/AdventuresWithEggieComicSiteFilterTest.kt +++ b/src/test/java/net/pterodactylus/rhynodge/filters/comics/AdventuresWithEggieComicSiteFilterTest.kt @@ -9,8 +9,9 @@ class AdventuresWithEggieComicSiteFilterTest : ComicSiteFilterTest() { override val baseUrl = "https://adventureswitheggie.com/" override val resource = "adventures-with-eggie.html" override val expectedComics = listOf( - Comic("Chapter 2 Page 22") - .add(Strip("https://i0.wp.com/AdventuresWithEggie.com/wp-content/uploads/2022/08/AWE-Chap2Page22Site-scaled.jpg?resize=819%2C2560", "")) + Comic("Chapter 2 Pages 107-108") + .add(Strip("https://i0.wp.com/AdventuresWithEggie.com/wp-content/uploads/2023/01/AWE-Chap2Page107Site1-scaled.jpg?resize=819%2C2560", "")) + .add(Strip("https://i0.wp.com/AdventuresWithEggie.com/wp-content/uploads/2023/01/AWE-Chap2Page107Site2-scaled.jpg?resize=819%2C2304", "")) ) } diff --git a/src/test/resources/net/pterodactylus/rhynodge/filters/comics/adventures-with-eggie.html b/src/test/resources/net/pterodactylus/rhynodge/filters/comics/adventures-with-eggie.html index efda5e6..68f8fdf 100644 --- a/src/test/resources/net/pterodactylus/rhynodge/filters/comics/adventures-with-eggie.html +++ b/src/test/resources/net/pterodactylus/rhynodge/filters/comics/adventures-with-eggie.html @@ -7,18 +7,18 @@ - + Adventures with Eggie - A silly fantasy adventure comic - + - + - + @@ -26,15 +26,15 @@ - - - - - + + + + - + + + - - + + + - - - - - - - - - + + + + + + + + + - - - - - - - - + + + + + + + + @@ -431,11 +439,11 @@ gtag("config", "G-ZSL8RM5BDT"); - - - - - + + + + + @@ -447,7 +455,7 @@ gtag("config", "G-ZSL8RM5BDT"); * No shorthand so the Customizer can override individual properties. * @see https://core.trac.wordpress.org/ticket/31460 */ - background-image: url(http://AdventuresWithEggie.com/wp-content/uploads/2022/08/AWE-SiteBanner-Update-Schedule-resize.jpg); + background-image: url(https://AdventuresWithEggie.com/wp-content/uploads/2022/08/AWE-SiteBanner-Update-Schedule-resize.jpg); background-repeat: no-repeat; background-position: 50% 50%; -webkit-background-size: cover; @@ -463,7 +471,7 @@ gtag("config", "G-ZSL8RM5BDT"); * No shorthand so the Customizer can override individual properties. * @see https://core.trac.wordpress.org/ticket/31460 */ - background-image: url(http://AdventuresWithEggie.com/wp-content/uploads/2022/08/AWE-SiteBanner-Update-Schedule-resize.jpg); + background-image: url(https://AdventuresWithEggie.com/wp-content/uploads/2022/08/AWE-SiteBanner-Update-Schedule-resize.jpg); background-repeat: no-repeat; background-position: 100% 50%; -webkit-background-size: cover; @@ -488,16 +496,16 @@ body.custom-background { background-color: #3c5b89; } - + - - - - + + + + - +
@@ -505,13 +513,13 @@ body.custom-background { background-color: #3c5b89; } -
-
+
+
-
-
+
+
-

Total stick vibes.

+

Time for a daring heist! Rob the library, hopefully not burning it down in the process!
+And who do we know that might help with that?

@@ -690,236 +653,95 @@ body.custom-background { background-color: #3c5b89; } -
  • +
  • -
    +
    - -

    Jessica J

    -
    - -
    -
    - - -
    -

    I’d hazard a guess as to where he keeps them, but that might be too mature a subject matter for this site.

    -
    - - - - -
      - -
    1. - - -
    -

    I THINK THE STICKS ARE UP MAIN STREET, BUT I COULD BE QUITE WRONG, AS I OFTEN AM.

    +

    $10 Ivan sneaks the book out when he inevitably reads it due to his own curiosity and has that moment where he realises Egg needs to know whatever the thing is he found out. That or he just remembers it all and tells her when he goes to find her.

  • - - - - -
  • +
  • -
    +
    - -

    Montgomery Counterclockwise

    -
    - -
    -
    - - -
    -

    “I’m a tool. I’m a tool I’m a tool, tool, tool. An unbelievably annoying tool.”

    -
    - - - - -
  • - -
  • - - -
    -
    -
    - - -

    Latrans

    -
    - -
    -
    - - -
    -

    “What’s going on? Well, this attractive young lady was just disrobing in front of me. I belive Ive seen more skin in five minutes than you’ve seen in five years. I should light the candles out here more often.”

    -
    - - - - -
  • - -
  • - - -
    -
    -
    - - -

    SPAM

    -
    - -
    -
    - - -
    -

    I THINK THE STICKS ARE UP MAIN STREET, BUT I COULD BE QUITE WRONG, AS I OFTEN AM.

    -
    - - - - -
      - -
    1. - - -
    -

    I TRIED TO RESPOND TO JESSICA J ON MY FIRST COMMENT, BUT IT WENT TO COMMENTS INSTEAD, WHOOPS

    +

    BRUH

  • - - -
  • +
  • -
  • -

    Нellо!
    -Ρerhарѕ my mеssagе іѕ tоо ѕрecіfіc.
    -Βut my oldеr sіѕter fоund а wоndеrful mаn here and thеу havе а grеat rеlatіоnѕhіp, but what abоut mе?
    -I am 25 уeаrs оld, Εlena, frоm thе Сzесh Republіс, knоw Εnglіѕh lаnguage alsо
    -Аnd… better tо sаy іt іmmеdіаtelу. Ι am bіѕеxual. I am not jeаlоuѕ оf another woman… еsресіallу іf wе makе lоvе together.
    -Ah yеs, Ι cook vеrу tastуǃ and I lоve nоt оnlу сооk ;))
    -Ιm rеаl girl and lоokіng fоr ѕеriouѕ аnd hot rеlаtiоnship…
    -Αnуwау, yоu сan find my prоfilе herе: http://podspengi.tk/usr-33009/

    +

    Doing a great job. I’m enjoying the story, a lot has happened in the same night and still wondering if there is any affect from her song being cast over the city

    @@ -932,14 +754,14 @@ Ah yеs, Ι cook vеrу tastуǃ and I lоve nоt оnlу сооk ;))
    -

    Leave a Reply

    Your email address will not be published.

    *

    +

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    *

    *

    *

    -

    +

    -

    +

    @@ -1314,7 +1324,7 @@ Ah yеs, Ι cook vеrу tastуǃ and I lоve nоt оnlу сооk ;))
    -
    +
    @@ -1336,47 +1346,43 @@ Ah yеs, Ι cook vеrу tastуǃ and I lоve nоt оnlу сооk ;))
    - - - - - - + + + - - - - - - - - - - + + + + + + + + + + - + - - - -