Announcement

Collapse
No announcement yet.

hs.geturl ssl issue

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Originally posted by Malosa View Post

    yes that works. thank you
    how could i forget that, wow
    We all have those "Senior Moments" from time to time.
    Real courage is not securing your Wi-Fi network.

    Comment


    • #17
      Originally posted by jon00 View Post

      FYI, you can run individual/selection of scrapes using the script parameter entry. i.e.

      Sub or Function: Main
      Parameters: 5+7

      This would just get scrapes from Grab 5 and Grab 7
      yeah i know, i already run grab1 till 30 a minute.
      i did not try to run 2x your script as i dont know if it creates a lagg or error.

      Preferred -> Jon's Plugins, Pushover, Phlocation, Easy-trigger,
      Rfxcom, Blade Plugins, Pushbullet, homekit, Malosa Scripts




      HS3Pro 3.0.0.531 on windows 7 ultimate X64 on hp quadcore laptop 8 GB.

      Comment


      • #18
        Originally posted by Wadenut View Post

        We all have those "Senior Moments" from time to time.
        haha , but i have an other question.

        i have this particular line

        Code:
        x = Instr(1,TheTime, "daypart-item",1) +1
                            TheTime = Mid(TheTime,x)
        but this daypart-item contains more data.
        is it possible to retrieve all the data at once instead of let it scan over and over again?

        like now i have this :

        Code:
        x = Instr(1,TheTime, "daypart-item",1) +1             <---- or  1 line above this is  <div class="col col3"> it has 4x <div class="col col3"> with the data (evening,night,midday,morning)
                            TheTime = Mid(TheTime,x)
                            x = Instr(1,TheTime, "evening",1) +1                       <------- this has morning evening and night midday... need all the data at once
                            TheTime = Mid(TheTime,x)
                            x = Instr(1,TheTime, "temp red",1) +1
                            TheTime = Mid(TheTime,x)
                            x = Instr(1,TheTime, ">",1) +1
                            TheTime = Mid(TheTime,x)
                            x = Instr(1,TheTime, "</div",1) -1
                            TheTime = Mid(TheTime,1,x)
        this is how the html looks like, its 4 x the same only difference is the evening,morning,midday,night

        Code:
        <div class="col col3">
          <div class="daypart-item">
                        <div class="wx" style="background-image: url('/Content/Images/Weather/b60x60_x2/D@2x.png')"></div>
                        <div class="head">morning</div>
        
                        <div class="orange">
                            <i class="fa fa-sun-o orange" title="Zonkans"></i> 30%
                        </div>
        
                        <div class="temp red">14°C</div>
            <div class="orange">
                            <i class="fa fa-sun-o orange" title="sunchance"></i> 30%
                        </div>
            <div class="temp red">14°C</div>
            <div class="blue ">
                                <i class="fa fa-tint rain" title="rain"></i> 0 <div class="indicator">mm</div>
                            </div>
            <div class="wind" style="background-image: url('/Content/Images/Wind/svg/NW.svg')" title="NW 3">
                            3
                        </div>
        Preferred -> Jon's Plugins, Pushover, Phlocation, Easy-trigger,
        Rfxcom, Blade Plugins, Pushbullet, homekit, Malosa Scripts




        HS3Pro 3.0.0.531 on windows 7 ultimate X64 on hp quadcore laptop 8 GB.

        Comment

        Working...
        X