I'm trying to scrape images from an iphone website for a coverflow
view.

This is the source html I'm getting:

                    <a href="#" onclick="toggle_photo_thumbnail(this,
['http://14.media.tumblr.com/tumblr_kr15w4uy3E1qzt7uyo1_500.jpg'],
[481],[600]); just_clicked_photo = true; return false;">
                    <img class="photo" alt=""
                            width="100"
                height="125"
                        src="http://4.media.tumblr.com/
tumblr_kr15w4uy3E1qzt7uyo1_100.jpg"/>
        </a>


I can easily grab the small _100 thumbs with xpath://img/@src


But, I need to either grab the url in the onclick or convert the _100
to _500 in the src=.

I tried xpath://img/[translate(@src, "_100", "_500")], but it's not
working.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"fluidapp" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/fluidapp?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to