GithubHelp home page GithubHelp logo

Problema installazione about pdfgrabber HOT 5 CLOSED

felixfrog avatar felixfrog commented on May 23, 2024
Problema installazione

from pdfgrabber.

Comments (5)

Bbalduzz avatar Bbalduzz commented on May 23, 2024

How to use pdfgrabber

  1. download the latest version of Python
    • when installing though the set up wizard, make sure to select the checkbox to add python to PATH
      img
  2. downlaod the pdfgrabber repo
    • using git: git clone https://github.com/FelixFrog/pdfgrabber.git
    • manually: download the zip (green button labeled "code") and extract it
  3. open your local clone of pdfgrabber
  4. open the terminal in that directory and run:
    1. pip install -r requirements.txt (takes care of installing every needed libraries)
    2. run the script
      • python3 main.py (linux and macos)
      • py main.py (windows)
  5. once inside the pdfgrabber CLI:
    • press r: register a new account
    • choose what to do (it's listed):
      • to download a book: press d and follow the instructions

From here the pdfgrabber cli guides you well

from pdfgrabber.

 avatar commented on May 23, 2024

Grazie, sono riuscito ad andare avanti, ma non riconosce le credenziali dell'account Pearson che inserisco (Unable to authenticate to Pearson eText). Cosa è il token per Pearson eText?
E soprattutto, come ottengo l'ID del libro?

from pdfgrabber.

FelixFrog avatar FelixFrog commented on May 23, 2024

Ciao! Prima di tutto ringrazio @Bbalduzz del tutorial, che spero aggiunga prontamente con un commit al readme.

In secondo luogo il bug di pearson é già conosciuto e si sta lavorando per risolverlo. Ad ora potresti provare a scaricare l'app pearson readerplus sul tuo dispositivo mobile, fare il login lì almeno una volta e riprovare a fare il login su pdfgrabber. In ogni caso facci sapere su questa issue se funziona o no.

from pdfgrabber.

 avatar commented on May 23, 2024

Ciao, allora sono riuscito ad entrare nell'app Pearson Plus, sito dove mi sono iscritto, ed anche nell'app Reader+. (L'username è la mail) In realtà sono riuscito ad andare avanti ma mi dà comunque errore, che allego:

Choose a service [bsm/ees/hbs/mcm/myl/prs/sbk/znc/dbk/olb/rfl]: prs
Do you have a token for Pearson eText / Reader+? [y/n] (n): n
Pearson eText / Reader+ username: ***********
Pearson eText / Reader+ password: ***********
Traceback (most recent call last):
File "C:\Users\ronal\Downloads\pdfgrabber-master\main.py", line 235, in
main()
File "C:\Users\ronal\Downloads\pdfgrabber-master\main.py", line 217, in main
downloadbook()
File "C:\Users\ronal\Downloads\pdfgrabber-master\main.py", line 86, in downloadbook
token = utils.login(service, username, password)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ronal\Downloads\pdfgrabber-master\utils.py", line 30, in login
token = service.login(username, password)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ronal\Downloads\pdfgrabber-master\services\prs.py", line 187, in login
rplususerinfo = getrplususerinfo(rplustoken["token"])
~~~~~~~~~~^^^^^^^^^
KeyError: 'token'

Vorrei capire cosa è il token. Tra l'altro, ti faccio presente che io nella mia libreria non ho nessun libro.

from pdfgrabber.

FelixFrog avatar FelixFrog commented on May 23, 2024

Duplicato della issue #37, segno questa come completa. Segui lì la discussione.

from pdfgrabber.

Related Issues (20)

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.