images from rss

Ok, slight change of pace. I was trying to automate scraping links from html file, but I think it might be easier to do it from a rss feed. It is a full rss feed. There will be lots of data in a xml format, but I am just looking for the image links. They would be in a structure similar to the following:

<img src="" alt="Blah Blah" title="Blah Blah" /></a>

I would like to scrape each link one per line, so the result for the above example would be:
Who is Participating?
ozoConnect With a Mentor Commented:
perl -lne 'print $2 while /src=("|&#34;)(.*?)\1/g'
stakorAuthor Commented:
perl -lne 'print for /src="(.*?)"/g' < text.txt doesn't output anything.
stakorAuthor Commented:
hmm, when I run just the test text, and not the whole file, I get the response I am looking for. Let me see if there is something obvious about the large rss file that would be throwing it off.
stakorAuthor Commented:
It would appear that for no real reason, I am getting a lot of

 img src=&#34;";

I was not expecting that formatting, at all.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.