MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    [MMM-AllsvenskanStandings] Current standings of Swedish football league

    Scheduled Pinned Locked Moved Sport
    3 Posts 2 Posters 1.2k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R Offline
      retroflex Project Sponsor Module Developer
      last edited by retroflex

      …or soccer if you prefer :)

      Description

      Allsvenskan is the top league in Sweden. I tested all other existing modules, but there were no that included free access to Allsvenskan. So I made my own module.

      There is no direct API for Allsvenskan, so this module uses the open Text TV API and scrapes the HTML it generates. Not ideal, but it works (for now).

      Screenshot

      0_1555193346375_eddaf4fe-ba24-4c64-8dce-860f8df3c8ff-image.png

      Download

      https://github.com/retroflex/MMM-AllsvenskanStandings

      1 Reply Last reply Reply Quote 1
      • FallandeGubbeF Offline
        FallandeGubbe
        last edited by

        Suddenly the module doesn’t update/work any longer.

        Any idea??

        6f8e68eb-b0f8-4371-990c-dd18ed3a1096-image.png

        R 1 Reply Last reply Reply Quote 0
        • R Offline
          retroflex Project Sponsor Module Developer @FallandeGubbe
          last edited by

          @fallandegubbe Yeah SVT has changed Text TV to be screenshots instead of text. The module scrapes the HTML and since the HTML has changed, the module broke. The text is still there though in the HTML source so a few changes to the scraping code should do the trick.

          I don’t use this module anymore though and don’t have time to look at it. Maybe you have?

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          Enjoying MagicMirror? Please consider a donation!
          MagicMirror created by Michael Teeuw.
          Forum managed by Sam, technical setup by Karsten.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy