Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect off-season responses #2

Open
amotl opened this issue Mar 1, 2021 · 0 comments
Open

Detect off-season responses #2

amotl opened this issue Mar 1, 2021 · 0 comments

Comments

@amotl
Copy link
Member

amotl commented Mar 1, 2021

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

@amotl amotl changed the title Detect off season responses Detect off-season responses Mar 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant