[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

Re: Extract more URLs from Google search



In [emacs-w3m : No.11916] jidanni@xxxxxxxxxxx wrote:

> How should I rewrite

> (eval-after-load "w3m-filter"
[...]
>        (while (re-search-forward "\\(<a[\t\n ]+\\(?:[^\t\n >]+[\t\n ]+\\)*\
href=\"\\)/\\(?:imgres\\?imgurl\\|url\\?q\\)=\\([^&]+\\)[^>]+>"
> 				 nil t)

       (while (re-search-forward "\\(<a[\t\n ]+\\(?:[^\t\n >]+[\t\n ]+\\)*\
href=\"\\)\\(?:[^\"]+\\)?/\\(?:imgres\\?imgurl\\|url\\?\\(?:q\\|url\\)\\)=\
\\([^&]+\\)[^>]+>" nil t)

This will probably work as expected.  I'll also fix it in emacs-w3m.
Thanks.