I would like to execute something like this to get one day info from the index_page (url=https://www.directv.cl/guia/guia.aspx). I'm trying to get one day TV shows info in steps using a loop:
*GET YEAR
index_temp_1.modify {calculate(format=date,yyyy)}
*GET MONTH
index_temp_2.modify {calculate(format=date,MM)}
*GET DAY (incrementarlo en cada iteración por )
index_temp_3.modify {calculate(format=date,dd)}
*SET HOUR
index_temp_4.modify {addstart|0}
I would like to execute something like this to get one day info from the index_page (url=https://www.directv.cl/guia/guia.aspx). I'm trying to get one day TV shows info in steps using a loop:
*GET YEAR
index_temp_1.modify {calculate(format=date,yyyy)}
*GET MONTH
index_temp_2.modify {calculate(format=date,MM)}
*GET DAY (incrementarlo en cada iteración por )
index_temp_3.modify {calculate(format=date,dd)}
*SET HOUR
index_temp_4.modify {addstart|0}
scope.range {(urlindex)|end}
*************** INICIO BUCLE HORA **********************
loop {('index_temp_4' < "24" )|end}
*Get current time timetable
url_index{url|https://www.directv.cl/guia/Services/ProgrammingGuideAjax.asmx/GetProgra...}
url_index.headers {method=POST|contenttype=application/json}
url_index.headers {postdata={ "minute": "0", "time": "'index_temp_4'", "day": "11", "month": "'index_temp_2'", "year": "'index_temp_1'", "onlyFavorites": "N"}}
*Increment 4 hours
index_temp_4.modify {calculate|4 +}
index_temp_4.modify {replace|.00|}
end_loop
*************** FIN BUCLE HORA **********************
end_scope
...
It is possible to do something like that?