/ Published in: Groovy
Gets "src" attributes from all "img" tags in RSS entries descriptions
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
RSS_URL = 'http://35photo.ru/rss/photo_day.xml' OUT_NAM = "/var/tmp/${new Date().format('YYYYMMddHHmmss')}" new FileOutputStream(OUT_NAM + "${sr.hashCode()}.$ex").write(new URL(sr).getBytes()) } }
URL: rss_sav_img