sa3dy / wileydownmergepdf Goto Github PK
View Code? Open in Web Editor NEWIt's a simple console app(Written in JAVA) that help you to download books from http://onlinelibrary.wiley.com/ but in 1 pdf file.
It's a simple console app(Written in JAVA) that help you to download books from http://onlinelibrary.wiley.com/ but in 1 pdf file.
`E:>java -jar WileyDownMergePDF.jar
Paste Book URL:
http://onlinelibrary.wiley.com/book/10.1002/9780470172254
Fetching from: http://onlinelibrary.wiley.com/book/10.1002/9780470172254...
Fetching 13 PDF links to download..
Fetching the link no.: 1
Fetching the link no.: 2
Fetching the link no.: 3
Fetching the link no.: 4
Fetching the link no.: 5
Fetching the link no.: 6
Fetching the link no.: 7
Fetching the link no.: 8
Fetching the link no.: 9
Fetching the link no.: 10
Fetching the link no.: 11
Fetching the link no.: 12
Fetching the link no.: 13
All PDF links are fetched..
Creating Directory "E:\Genetic Algorithms and Engineering Design" for files..
Directory is created!
Downloading the 13 PDF files..
Downloading the file no.: 1
File no.: 1 is successfully downloaded.
Downloading the file no.: 2
No file to download. Server replied HTTP code: 403
File no.: 2 is successfully downloaded.
Downloading the file no.: 3
No file to download. Server replied HTTP code: 403
File no.: 3 is successfully downloaded.
Downloading the file no.: 4
No file to download. Server replied HTTP code: 403
File no.: 4 is successfully downloaded.
Downloading the file no.: 5
No file to download. Server replied HTTP code: 403
File no.: 5 is successfully downloaded.
Downloading the file no.: 6
No file to download. Server replied HTTP code: 403
File no.: 6 is successfully downloaded.
Downloading the file no.: 7
No file to download. Server replied HTTP code: 403
File no.: 7 is successfully downloaded.
Downloading the file no.: 8
No file to download. Server replied HTTP code: 403
File no.: 8 is successfully downloaded.
Downloading the file no.: 9
No file to download. Server replied HTTP code: 403
File no.: 9 is successfully downloaded.
Downloading the file no.: 10
No file to download. Server replied HTTP code: 403
File no.: 10 is successfully downloaded.
Downloading the file no.: 11
No file to download. Server replied HTTP code: 403
File no.: 11 is successfully downloaded.
Downloading the file no.: 12
No file to download. Server replied HTTP code: 403
File no.: 12 is successfully downloaded.
Downloading the file no.: 13
No file to download. Server replied HTTP code: 403
File no.: 13 is successfully downloaded.
All files are downloaded successfully..
Start merging..
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
Caused by: java.io.FileNotFoundException: E:\Genetic Algorithms and Engineering Design\1.pdf (The system cannot find the file specified)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(Unknown Source)
at java.io.FileInputStream.(Unknown Source)
at org.apache.pdfbox.multipdf.PDFMergerUtility.addSource(PDFMergerUtility.java:144)
at org.apache.pdfbox.multipdf.PDFMergerUtility.addSource(PDFMergerUtility.java:132)
at wileyDownloader.WileyDownMergePDF.main(WileyDownMergePDF.java:95)`
Please handle forward slash special character in book name like the following book:
http://onlinelibrary.wiley.com/book/10.1002/9781118354261
I'm getting this error:
Creating Directory "C:\Users\USER\Downloads\Publish\Subscribe Systems Design and
Principles" for files..
Failed to create directory!
PS: This issue occurs under windows environment
also please make a number of retries when the connection times out .
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.