in reply to Using Web::Scraper to extract content from an HTML page

Hi

The key to figuring out matching problems like this is to include in your program a cut down 20 line sample html

On the url you scrape, in the html, I see nothing that would match  a[@title] , there are no a tags/elments with a title= attribute

Replies are listed 'Best First'.
Re^2: Using Web::Scraper to extract content from an HTML page
by SiteScraper (Initiate) on Apr 03, 2017 at 23:32 UTC
    Thank you, beech, for the quick response. I request you to review my original post one more time. I have actually included a snippet of the HTML that I'm trying to match against. That snippet is actually from the URL I am scraping. I got it by doing a 'View Source' on the page. Were you looking for something different?

      Thank you, beech, for the quick response. I request you to review my original post one more time. I have actually included a snippet of the HTML that I'm trying to match against. That snippet is actually from the URL I am scraping. I got it by doing a 'View Source' on the page. Were you looking for something different?

      Hi,

      It slipped by me I guess :) I looked at the website, and your html matches, so no I wasn't looking for something different

      To clarify, try

      process_first "img", name => '@title';

      a tags cannot be nested