App-WebSearchUtils

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

FUNCTIONS
  web_search
    Usage:

     web_search(%args) -> [$status_code, $reason, $payload, \%result_meta]

    Open web search page in browser.

    This utility can save you time when you want to open multiple queries
    (with added common prefix/suffix words) or specify some options like
    time limit. It will formulate the search URL(s) then open them for you
    in browser. You can also specify to print out the URLs instead.

    Aside from standard web search, you can also generate/open other
    searches like image, video, news, or map.

    This function is not exported.

    Arguments ('*' denotes required arguments):

    *   action => *str* (default: "open_url")

lib/App/WebSearchUtils.pm  view on Meta::CPAN

    qq([[$url][$query]]);
}

$SPEC{web_search} = {
    v => 1.1,
    summary => 'Open web search page in browser',
    description => <<'_',

This utility can save you time when you want to open multiple queries (with
added common prefix/suffix words) or specify some options like time limit. It
will formulate the search URL(s) then open them for you in browser. You can also
specify to print out the URLs instead.

Aside from standard web search, you can also generate/open other searches like
image, video, news, or map.

_
    args => {
        queries => {
            'x.name.is_plural' => 1,
            'x.name.singular' => 'query',

lib/App/WebSearchUtils.pm  view on Meta::CPAN

=head2 web_search

Usage:

 web_search(%args) -> [$status_code, $reason, $payload, \%result_meta]

Open web search page in browser.

This utility can save you time when you want to open multiple queries (with
added common prefix/suffix words) or specify some options like time limit. It
will formulate the search URL(s) then open them for you in browser. You can also
specify to print out the URLs instead.

Aside from standard web search, you can also generate/open other searches like
image, video, news, or map.

This function is not exported.

Arguments ('*' denotes required arguments):

=over 4

script/web-search  view on Meta::CPAN

B<web-search> [B<--action>=I<str>|B<--open-url>|B<--print-html-link>|B<--print-org-link>|B<--print-result-html-link>|B<--print-result-link>|B<--print-result-org-link>|B<--print-url>|B<--save-html>] [B<--append>=I<str>] [B<--config-path>=I<path>|B<-c>...



See examples in the L</EXAMPLES> section.

=head1 DESCRIPTION

This utility can save you time when you want to open multiple queries (with
added common prefix/suffix words) or specify some options like time limit. It
will formulate the search URL(s) then open them for you in browser. You can also
specify to print out the URLs instead.

Aside from standard web search, you can also generate/open other searches like
image, video, news, or map.

=head1 OPTIONS

C<*> marks required options.

=head2 Main options



( run in 0.531 second using v1.01-cache-2.11-cpan-3cd7ad12f66 )