logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Alien::Build::Plugin::Decode::Mojo - Plugin to extract links from HTML using Mojo::DOM or Mojo::DOM58

Author

       Author: Graham Ollis <plicease@cpan.org>

       Contributors:

       Diab Jerius (DJERIUS)

       Roy Storey (KIWIROY)

       Ilya Pavlov

       David Mertens (run4flat)

       Mark Nunberg (mordy, mnunberg)

       Christian Walde (Mithaldu)

       Brian Wightman (MidLifeXis)

       Zaki Mughal (zmughal)

       mohawk (mohawk2, ETJ)

       Vikas N Kumar (vikasnkumar)

       Flavio Poletti (polettix)

       Salvador Fandiño (salva)

       Gianni Ceccarelli (dakkar)

       Pavel Shaydo (zwon, trinitum)

       Kang-min Liu (劉康民, gugod)

       Nicholas Shipp (nshp)

       Juan Julián Merelo Guervós (JJ)

       Joel Berger (JBERGER)

       Petr Písař (ppisar)

       Lance Wicks (LANCEW)

       Ahmad Fatoum (a3f, ATHREEF)

       José Joaquín Atria (JJATRIA)

       Duke Leto (LETO)

       Shoichi Kaji (SKAJI)

       Shawn Laffan (SLAFFAN)

       Paul Evans (leonerd, PEVANS)

       Håkon Hægland (hakonhagland, HAKONH)

       nick nauwelaerts (INPHOBIA)

       Florian Weimer

Description

       Note: in most cases you will want to use Alien::Build::Plugin::Download::Negotiate instead.  It picks the
       appropriate decode plugin based on your platform and environment.  In some cases you may need to use this
       plugin directly instead.

       This plugin decodes an HTML file listing into a list of candidates for your Prefer plugin.  It works just
       like Alien::Build::Plugin::Decode::HTML except it uses either Mojo::DOM or Mojo::DOM58 to do its job.

       This plugin is much lighter than The "Decode::HTML" plugin, and doesn't require XS.  It is the default
       decode plugin used by Alien::Build::Plugin::Download::Negotiate if it detects that you need to parse an
       HTML index.

Name

       Alien::Build::Plugin::Decode::Mojo - Plugin to extract links from HTML using Mojo::DOM or Mojo::DOM58

Synopsis

        use alienfile;
        plugin 'Decode::Mojo';

       Force using "Decode::Mojo" via the download negotiator:

        use alienfile 1.68;

        configure {
          requires 'Alien::Build::Plugin::Decode::Mojo';
        };

        plugin 'Download' => (
          ...
          decoder => 'Decode::Mojo',
        );

Version

       version 2.84

See Also