Giter VIP home page Giter VIP logo

py-issuu-scrape's People

Contributors

dkl3 avatar jpeacock29 avatar mokawi avatar sietse avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

py-issuu-scrape's Issues

Error

Hello.
Do you know why I am getting this error when I run your code?

Invalid Parameter - "Issuu
Traceback (most recent call last):
File "py-issuu-scrape-master\issuu.py", line 41, in
metadata['uploaded'] = soup.find('div', attrs={'itemprop': 'datePublished'})['datetime']
TypeError: 'NoneType' object is not subscriptable

Convert call fails on Windows

Subprocess call in line 33-34 fails on Windows, possibly due to relying on ImageMagick library in MacOS. I found workarounds using other libraries, but just a heads up for other users having this issue. To resolve I added an "out" flag to the wget.download() command in line 25, and then used FPDF and Pillow libraries to create the output pdf from directory specified.

Issue: Invalid Parameters

Hi, stumbled upon your script when I was about to try my own - getting this issue (or should I say issuu) when running the script on: https://issuu.com/raywhiteofficeupdate/docs/june_2018_sydney_office_listings?e=32688446/61816242

Invalid Parameter - "June
Traceback (most recent call last):
  File ".\issuu.py", line 28, in <module>
    subprocess.check_call(params)
  File "C:\Users\akkat\AppData\Local\Programs\Python\Python36-32\lib\subprocess.py", line 291, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['convert', 'page_*', 'June 2018 sydney office listings.pdf']' returned non-zero exit status 4.

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.