dkl3 / py-issuu-scrape Goto Github PK
View Code? Open in Web Editor NEWIssuu scraper written in Python.
Issuu scraper written in Python.
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
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.
URLIB has some function deprecated and
on entering url:
Enter the url: https://issuu.com/(whatever)
Traceback (most recent call last):
File "./issuu.py", line 10, in
x = str(input("Enter the url: "))
File "", line 1
https://issuu.com/(whatever)
^
SyntaxError: invalid syntax
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.