ããã£ã¦ãã¾ãã°åç´ãªãã¨ã§ããã process 'a[href=~/\.jpe?g$/]', 'urls[]' => '@href'; XPathã§ãåãããã«ã§ãã¾ãã process '//a[@href =~ /\.jpe?g$/]', 'urls[]' => '@href'; Web::Scraperã«ã¯ãã£ã«ã¿ã®æ¦å¿µããã£ã¦ãåå¾ãã¦ãããã«ããã«ãã§ããã®ã§ããã£ã¡ã®ã»ãã°ãã調ã¹ã¦ãã¾ããã ä¾ãã°ä»¥ä¸ã®ãããªHTMLã®å ´åããã®ã¾ã¾åå¾ããã¨ãåå¾ã«æ¹è¡ãå ¥ã£ã¦ãã¾ãã¾ãã <title> ã¿ã¤ãã«ãªã®ã </title> ã§ããããåå¾ããæã«ãåå¾ã®æ¹è¡ãåé¤ãã¦ãããã¨ãã§ãã¾ãã process 'title', 'title' => ['TEXT', sub { s/^\s+//o; s/\s+$//o; } ]; ããããæ©è½ããã£ã«ã¿ã¨å¼ãã§ãã¾ãã ãã®
{{#tags}}- {{label}}
{{/tags}}