WWW-Offliberty version 0.002
============================
-WWW::Offliberty is a simple interface to the offliberty.com download service.
+Offliberty is a service that takes a URL to some media (for example a
+YouTube video, a Vimeo video, a SoundCloud song) and returns one or
+more download links.
+
+WWW::Offliberty is a simple interface to this service. The dist also
+includes a command-line script called "off" that has the same
+functionality as the module.
+
+See http://offliberty.com and the documentation of WWW::Offliberty for
+more information.
INSTALLATION
This module requires these other modules and libraries:
* HTML::TreeBuilder
- * LWP::UserAgent
+ * HTTP::Tiny
COPYRIGHT AND LICENCE
-Copyright (C) 2013 by Marius Gavrilescu
+Copyright (C) 2013-2015 by Marius Gavrilescu
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself, either Perl version 5.18.1 or,
WWW::Offliberty is a simple interface to the offliberty.com download service.
-It exports a single function: B<off>(I<url>, [I<argument> => value...]).
-This function that returns a list of download links,
-as returned by the service.
+The module exports (on request) a single function, B<off>(I<url>,
+[I<parameter> => value, ...]). It takes a URL and an optional list of
+parameters (key/value pairs). It returns a list of download links. An
+empty list is returned if the Offliberty service returns no URLs (for
+example if Offliberty encounters an error or the URL is invalid). Dies
+if unable to contact Offliberty (for example if there is no internet
+connection or a firewall blocks the connection).
+
+The supported services and parameters are undocumented. From empirical
+testing, when requesting a YouTube URL the service will return an
+audio-only URL when called with no parameters, and two URLs
+(audio-only and audio/video) when called with the parameter
+B<video_file> set to B<1>. In contrast, Vimeo URLs with no parameters
+return both audio-only and audio/video variants.
=head1 SEE ALSO
=head1 COPYRIGHT AND LICENSE
-Copyright (C) 2013 by Marius Gavrilescu
+Copyright (C) 2013-2015 by Marius Gavrilescu
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself, either Perl version 5.18.1 or,
=head1 DESCRIPTION
-off is a command-line interface to the offliberty.com download service. It prints a list of download URLs for a given resource (e.g. a youtube video). You can also send parameters using the C<--param> argument.
+off is a command-line interface to the offliberty.com download
+service. It prints a list of download URLs for a given resource (e.g.
+a youtube video). You can also send parameters using the C<--param>
+argument. See the L<WWW::Offliberty> documentation for more
+information about parameters.
=head1 SEE ALSO
=head1 COPYRIGHT AND LICENSE
-Copyright (C) 2013 by Marius Gavrilescu
+Copyright (C) 2013-2015 by Marius Gavrilescu
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself, either Perl version 5.18.1 or,