Giter VIP home page Giter VIP logo

google-scholar-perl's Introduction

#My-Google-Scholar

A scraper for Google Scholar.

##INSTALLATION

To install this module, run the following commands:

perl Makefile.PL
make
make test
make install

#DEPENDENCIES

None.

#COPYRIGHT AND LICENCE

Copyright (C) 2007, JJ Merelo, Max Brescia, Tony Hermoso

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

google-scholar-perl's People

Contributors

jj avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

google-scholar-perl's Issues

Problems when run on Win32 platforms

>What steps will reproduce the problem?

 1. install on Windows XP , locale zh-tw
 2. run ...\My-Google-Scholar\examples>perl search_title.pl
 3. error messages produced

>What is the expected output? What do you see instead?

In addition to the output, some error messages are shown:
1. '$ENV{HOME}/.lwpcookies.txt' not found
2. 'Malformed UTF-8 character (unexpected continuation byte 0xa0, with no 
preceding start byte) at ../lib/My/Google/Scholar/Paper.pm line 31.'

>What version of the product are you using? On what operating system?

The version 0.0.5 on Windows XP sp3.

>Please provide any additional information below.

Workarounds:
1. Add the following to line 32 of Scholar.pm (ref. 
http://coding.derkeiler.com/Archive/Perl/comp.lang.perl.misc/2007-
04/msg01190.html , but be careful about the type $SENV)
  BEGIN {
    if ( substr ( $^O, 0, 5 ) eq q{MSWin} ) {
        if ( $ENV{HOME} ) {
        # leave as is
        }
        elsif ( $ENV{USERPROFILE} ) {
            $ENV{HOME} = $ENV{USERPROFILE};
        }
        elsif ( $ENV{HOMEDRIVE} and $ENV{HOMEPATH} ) {
            $ENV{HOME} = $ENV{HOMEDRIVE} . $ENV{HOMEPATH};
        }
        else {
            $ENV{HOME} = '.';
    } } }
2.Open and save Paper.pm in utf-8 format

Original issue reported on code.google.com by [email protected] on 17 May 2010 at 11:08

Attachments:

Only first page of Google Scholar is returned

When I run the example I only get the first 20 articles of the person I am looking for. Basically the search stops at the end of the first page. Is there a way to get more pages returned?

Georg

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.