Git Product home page Git Product logo

mazda-service-info-scraper's People

Contributors

ddoylez avatar indrasweb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

mazda-service-info-scraper's Issues

Latest version of PyPDF2 breaks this script

Problem

I ran into some troubles running this script, and they ended up being due to PyPDF2 v3.x. After adding in some error message prinouts I came across this error:

Downloading started...
PdfFileReader is deprecated and was removed in PyPDF2 3.0.0. Use PdfReader instead.

Workaround

As a workaround I installed pypdf2 = "~=2.12" using pipenv to get up and running

Permanent Solution

Dependency Management

Introduce some form of dependency management to specify library versions and make getting up & running quick & easy. I would recommend a Pipfile, but having a requirements.txt should also work.

Library Upgrades

According to the PyPDF2 PyPI page the project has moved to pypdf shortly after upgrading to v3.0.0, which introduced some breaking changes. This script should probably switch to the pypdf package. I did find a migration guide, but it doesn't seem to cover going from v2.x -> v3.x.

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.