Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Adapter zum Abfragen vom Aktien, Krypto ...

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Adapter zum Abfragen vom Aktien, Krypto ...

    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      PatrickFro @Homoran last edited by

      @homoran Hast Du ein Tipp für ein Script hierfür? Ich würde auch lieber auf den Parser-Adapter verzichten und per Blockly meine 24 benötigten Kurse abfragen, nur leider scheint der parse-Block in Blockly hierfür nicht ausgelegt zu sein.

      Homoran 1 Reply Last reply Reply Quote 0
      • Homoran
        Homoran Global Moderator Administrators @PatrickFro last edited by

        @patrickfro sagte in Adapter zum Abfragen vom Aktien, Krypto ...:

        Hast Du ein Tipp für ein Script hierfür?

        leider nein. Ich kann nicht wirklich Scripten

        @patrickfro sagte in Adapter zum Abfragen vom Aktien, Krypto ...:

        auf den Parser-Adapter verzichten

        Was stteht denn im Editor-Fenster?

        P 1 Reply Last reply Reply Quote 0
        • TheBam
          TheBam @Andre 2 last edited by TheBam

          @andre-2
          probier mal mit dem RegEX <div>(\d*.\d*,\d*)<span>EUR
          Bei mir klappt das. Bei dem anderen hatte ich den falschen Wert.
          Den Num auch dann auf 0 stellen.
          ethereum2.jpg ethereum.jpg

          Homoran A 2 Replies Last reply Reply Quote 0
          • Homoran
            Homoran Global Moderator Administrators @TheBam last edited by

            @thebam und ([\+\-\,\d]+)<span>EUR dann aber NUM=1

            1 Reply Last reply Reply Quote 0
            • P
              PatrickFro @Homoran last edited by

              @homoran said in Adapter zum Abfragen vom Aktien, Krypto ...:

              Was stteht denn im Editor-Fenster?

              In welchem Editor-Fenster meinst Du?

              Homoran 1 Reply Last reply Reply Quote 0
              • Homoran
                Homoran Global Moderator Administrators @PatrickFro last edited by

                @patrickfro sagte in Adapter zum Abfragen vom Aktien, Krypto ...:

                In welchem Editor-Fenster meinst Du?

                von der Regel
                rechts auf den Bleistift klicken

                P 1 Reply Last reply Reply Quote 0
                • A
                  Andre 2 @TheBam last edited by

                  @thebam sagte in Adapter zum Abfragen vom Aktien, Krypto ...:

                  <div>(\d*.\d*,\d*)<span>EUR

                  Jo so klappt es. Danke dir.

                  Homoran 1 Reply Last reply Reply Quote 0
                  • Homoran
                    Homoran Global Moderator Administrators @Andre 2 last edited by

                    @andre-2 sagte in Adapter zum Abfragen vom Aktien, Krypto ...:

                    Jo so klappt es. Danke dir.

                    aber nur wenn die Schwankungen nicht in die Tausender gehen

                    1 Reply Last reply Reply Quote 0
                    • P
                      PatrickFro @Homoran last edited by

                      @homoran said in Adapter zum Abfragen vom Aktien, Krypto ...:

                      von der Regel
                      rechts auf den Bleistift klicken

                      Ich stehe auf dem Schlauch. Meinst Du Du mit Editor? Im Parser oder Javascript-Adapter? Was soll ich da finden können?

                      Homoran 1 Reply Last reply Reply Quote 0
                      • Homoran
                        Homoran Global Moderator Administrators @PatrickFro last edited by

                        @patrickfro sagte in Adapter zum Abfragen vom Aktien, Krypto ...:

                        Meinst Du Du mit Editor? Im Parser

                        im Parser neben der Regel auf den Bleistift.
                        Dann siehst du was passiert

                        Oft kommt es auch vor, dass der Parser eine andere Sprachseite lädt als dein Browser und dann passt dein Browserquelltext nicht

                        P 1 Reply Last reply Reply Quote 0
                        • P
                          PatrickFro @Homoran last edited by PatrickFro

                          @homoran Achso. Bei mir passt alles beim parsen. Ich würde nur lieber per blockly abfragen und es direkt in mein umfangreiches Script einbauen.
                          Parse-Fehler habe ich nur ca. 2 Mal am Tag bei unterschiedlichen Links

                          1 Reply Last reply Reply Quote 0
                          • SMS
                            SMS @TheBam last edited by SMS

                            @thebam Wie bekomme ich den GELB hinterlegten?

                            Link Text

                            b60cd826-8c4e-46b3-a159-632cac99f741-image.png

                            So klappt es nicht:
                            7d5cb69d-3b0d-4624-ae89-4ba64e2c8081-image.png
                            <div>(\d*.\d*,\d*)<span>USD

                            TheBam 1 Reply Last reply Reply Quote 0
                            • TheBam
                              TheBam @SMS last edited by

                              @sms sagte in Adapter zum Abfragen vom Aktien, Krypto ...:

                              (\d*.\d*,\d*)

                              Probier mal damit:
                              class="pid-1061443-last" id="last_last">(\d*.\d*,\d*)<

                              SMS 1 Reply Last reply Reply Quote 0
                              • SMS
                                SMS @TheBam last edited by

                                @thebam sagte in Adapter zum Abfragen vom Aktien, Krypto ...:

                                class="pid-1061443-last" id="last_last">(\d*.\d*,\d*)<

                                leider nein

                                TheBam 1 Reply Last reply Reply Quote 0
                                • TheBam
                                  TheBam @SMS last edited by

                                  @sms
                                  Gerade auch ausprobiert über regex101 geht es aber vom adapter aus klappt es nicht. Warum kannst du das nicht von finanzen.net nehmen wie oben schon beschrieben?

                                  SMS 1 Reply Last reply Reply Quote 0
                                  • SMS
                                    SMS @TheBam last edited by

                                    @thebam Hab ich jetzt auch genommen. Dankeschön! 🙂

                                    TheBam 1 Reply Last reply Reply Quote 0
                                    • TheBam
                                      TheBam @SMS last edited by

                                      @sms
                                      regex.jpg
                                      ok hauptsache klappt aber komich das der im regex101 geht aber nicht im Adapter.

                                      SMS 1 Reply Last reply Reply Quote 0
                                      • SMS
                                        SMS @TheBam last edited by

                                        @thebam Würde ich das denn auch irgendwie abrufen können:
                                        a3141d46-f905-40e0-bbb4-f1875c520895-image.png
                                        Link Text

                                        Falls ja, wie in der vis darstellen?

                                        TheBam 1 Reply Last reply Reply Quote 0
                                        • TheBam
                                          TheBam @SMS last edited by

                                          @sms
                                          puhhh das würde ich direkt über die vis einbinden. html widget was mittels script auf die tabellen schaut alles andere ist wahnsinnige Programmier Arbeit.
                                          Anbei mal meine Programmierung wie ich mir die angebote von unserem metzger hole. Spiel einfach mal mit den zahlen rum einmal ist da wo er drauf schauen soll und einmal wie groß das in deiner vis sein soll.
                                          Ansonsten fällt mir auf die schnelle auch nis anderes ein.

                                          <div style="position:relative;width:1000px;height:2000px;overflow:auto;">

                                              <iframe src="URL hier eintragen" height="1000" width="2000" style="border:none;overflow:hidden;position:absolute;left:-750px;top:-320px;">
                                          
                                          
                                          
                                              </iframe>
                                          

                                          </div>

                                          SMS 1 Reply Last reply Reply Quote 0
                                          • SMS
                                            SMS @TheBam last edited by

                                            @thebam

                                            aber wie komme ich genau auf die Tabelle?

                                            TheBam 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            852
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            10
                                            51
                                            5659
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo