Jump to content

Behlur_Olderys

Społeczność Astropolis
  • Content Count

    2596
  • Joined

  • Last visited

  • Days Won

    4

Behlur_Olderys last won the day on September 29 2018

Behlur_Olderys had the most liked content!

Community Reputation

2483 Excellent

About Behlur_Olderys

  • Rank
    Bartek H.

Informacje o profilu

  • Płeć
    Mężczyna
  • Skąd
    Kraków
  • Zainteresowania
    Ogólna Teoria Względności
  • Sprzęt astronomiczny
    SW Mak 127 2"
    Asi120mm mini + filtry + obiektywy

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Single Status Update

See all updates by Behlur_Olderys

  1. Jest stronka, która udostępnia Greenwich Sidereal Time w postaci REST API? Jakiś jsonik? Albo chociaż tekst do sparsowania? 

    1. Behlur_Olderys

      Behlur_Olderys

      A, dobra, już znalazłem - heavens above:

       

      URL = "https://www.heavens-above.com/whattime.aspx"
      r = requests.get(url=URL)
      data = r.content
      
      for line in data.splitlines():
          line = line.decode("utf-8")
          tag = '<span id="ctl00_cph1_lblGST">'
          if tag in line:
              begin = line.find(tag) + len(tag)
              return line[begin:line.find('<', begin)]

      Jakby ktoś chciał :)

    2. Krzysztof z Bagien
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.