Coder Social home page Coder Social logo

Comments (3)

github-actions avatar github-actions commented on May 20, 2024 1

Potential duplicates:

  • [#8] cannot import (85%)

from scrape-google-scholar-py.

rohanjha123 avatar rohanjha123 commented on May 20, 2024 1

Hi, I'd read the thread linked above but I don't believe this is a duplicate because I'm using Python 3.11 and can only not import 1 package (while importing the other 2 works fine)

from scrape-google-scholar-py.

dimitryzub avatar dimitryzub commented on May 20, 2024

@rohanjha123 I apologize, it was a typo by me. There's no CustomGoogleScholarTopPublicationCitations class. I've updated example_usage.py

Class naming is confusing. This is something I'll update in the future.

Correct code example:

from google_scholar_py import CustomGoogleScholarTopPublicationArticle
import json

top_publication_citation = CustomGoogleScholarTopPublicationArticle().scrape_google_scholar_top_publication_articles(
    journal_publications_link='https://scholar.google.com/citations?hl=en&vq=en&view_op=list_hcore&venue=TdhLrHqKTh8J.2022',
    pagination=True,
    save_to_csv=False,
    save_to_json=False
)

print(json.dumps(top_publication_citation, indent=2, ensure_ascii=False))
- from google_scholar_py import CustomGoogleScholarTopPublicationCitations
+ from google_scholar_py import CustomGoogleScholarTopPublicationArticle

Let me know if this works for you.

from scrape-google-scholar-py.

Related Issues (13)

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.