Web::Scraper::Citations - Scrapes Google Scholar profiles for citations and stuff
This document describes Web::Scraper::Citations version 0.0.1
use Web::Scraper::Citations; my $author_profile = new Web::Scraper::Citations( $url_or_author_id ); say "This champ has got an h of ", $author_profile->h(), " and ", $author_profile->citations();
This scraper downloads information from Google Scholar profiles at http://scholar.google.com/citations. Scraping is limited by google to 2500 a day, so be careful with it and don't binge-scrape.
Creates a new object from the Google Citations URL or author ID (which is part of the URL anyway)
Returns the h index, citations, and number of papers with more than 10 citations, absolute or in the last 5 years.
Returns a hashref with all stats above, names as keys.
Scrapes either a real URL or a file: which is used mainly for caching purposes or for offline.
file:
Constant with the names of the stats we are interested in.
Web::Scraper::Citations requires no configuration files or environment variables.
No bugs have been reported.
Please report any bugs or feature requests to bug-web-scraper-citations@rt.cpan.org, or through the web interface at http://rt.cpan.org.
bug-web-scraper-citations@rt.cpan.org
JJ <JMERELO@cpan.org>
<JMERELO@cpan.org>
Copyright (c) 2015, JJ <JMERELO@cpan.org>. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the GPL v3.
BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR, OR CORRECTION.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
To install Web::Scraper::Citations, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Web::Scraper::Citations
CPAN shell
perl -MCPAN -e shell install Web::Scraper::Citations
For more information on module installation, please visit the detailed CPAN module installation guide.