in reply to Re: Extract file links from Google search results
in thread Extract file links from Google search results

Thanks for the comments, blazar. I appreciate your taking the time to look at my code. I must admit that when it comes to regexes I am very much an newbie. With regard to getting generic urls, I wanted specifically the link urls's that a Google search generates, which tend to be long hairballs, which I didn't know how to handle well directly.

In any case your comments have given me some ideas as for tools to use in the future.

Ravenor
See my Standard Code Disclaimer
  • Comment on Re^2: Extract file links from Google search results

Replies are listed 'Best First'.
Re^3: Extract file links from Google search results
by blazar (Canon) on Jun 25, 2007 at 14:13 UTC
    I must admit that when it comes to regexes I am very much an newbie.

    /me too, that's why I generally try not to be too smart with them. Of course sometimes sharpening one's own skills is not too bad and a look at the documentation is well worth.

    With regard to getting generic urls, I wanted specifically the link urls's that a Google search generates, which tend to be long hairballs, which I didn't know how to handle well directly.

    Well, google urls can be as simple as http://www.google.com/search?q=cool+perl+stuff. In fact, notwithstanding FF's cool search box available at a cheap keybinding, I often find myself composing them manually. In that case two parameters that happen to be useful for me are num and filter as in num=100&filter=0. Of course, this has nothing to do with Perl...