Plugin to extract links from HTML using Mojo::DOM or Mojo::DOM58
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',
);
NOTE: this distribution has been ended. Alien::Build::Plugin::Decode::Mojo can now
be found in the Alien-Build
distribution. Please report issues/make pull requests
against it instead.
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. The
intent is if this plugin proves its self reliable that it will be merged into Alien-Build
,
and the download negotiator may eventually prefer it.
Graham Ollis [email protected]
This software is copyright (c) 2019 by Graham Ollis.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.