I reviewed the code, and it seems the image URL sits in a DIV named "cico img-content." I've tried two methods without luck. The first was using your flow from above. I used HTML Request with the GET function.
A1: HTTP Request [
Method: GET
Timeout (Seconds): 30
Structure Output (JSON, etc): On ]
A2: Variable Set [
Name: %image_url
To: %http_data[.cico img-content>img=:=src] **** I'm not sure how to handle the space here
Structure Output (JSON, etc): On ]
A3: Variable Set [
Name: %Html
To: %image_url
Structure Output (JSON, etc): On ]
When I review the variable %Html, the value is "%image_url". So it is clear the http_data isn't working right.
METHOD TWO
I tried using AutoTools HTML Read to find the URL for the image. I entered the CSS Query Parameters as follows:
div#b_content div.vm_c div.dg_b.isvctrl div.mmComponent_images_1 ul.0 li.1 div.mm-ebad div.mm-ebad-ctt div.cico.img-content img()=:=src
I define the variable as %imageurl
Then i go to SET the %Html variable to %image_url, but the %Html variable is %image_url. Any thoughts on where I messed up?
Thanks in advance!
I would have NEVER found that if it wasn't for a built in AutoTools function. And it took for every to find it! Faceslap.
Cheers!
--
You received this message because you are subscribed to the Google Groups "Tasker" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tasker+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tasker/7115adfb-ac59-44cb-bb1b-160d07ae4742n%40googlegroups.com.