Skip to content

Detect off-season responses #2

@amotl

Description

@amotl

Hi there,

on [1], the response currently contains this snippet of HTML (reformatted for better readability).

<div class="row">
  <section>
    <div class="row">
      <div class="multi-tab leistungen white ">
        <div class="row">
          <div class="headline">
            <h1>Bienenflug </h1>
          </div>
        </div>
        <div class="content-wrapper light ">
          <div class="content-container static">
            <figure class="picture linksOhne">
              <img src="/DE/leistungen/biene_flug/bild_leistungen_bienenflug.png?__blob=normal&amp;v=3" title="Produkt Bienenflug: Zurzeit sind keine aktuellen Daten vorhanden. Saison ist März bis November (Quelle Deutscher Wetterdienst)" alt="Produkt Bienenflug: Zurzeit sind keine aktuellen Daten vorhanden. Saison ist März bis November (Quelle Deutscher Wetterdienst)" />
              <figcaption>
                <p>Zurzeit sind keine aktuellen Daten vorhanden</p>
              </figcaption>
            </figure>
          </div>
        </div>
      </div>
    </div>
  </section>
</div>

It would be nice to detect this and let the API respond appropriately.

With kind regards,
Andreas.

[1] https://www.dwd.de/DE/leistungen/biene_flug/bienenflug.html?nn=588520

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions