000 Adv.No.1 LTE 000 000 Adv.No.2 000 LINE Google Duo FaceTime LINE Available on the iPhon App Store &0081e p ay.
v1.4 by zgarnog
Purpose
To download one or more documents from http://issuu.com/and save each document as a pdf.
Install (under Windows)
Download and install DWIM Perl.(Unless you already have another Perl >= v5.14.2 installed.)
Download and install Image Magick.(Tested with 6.9.1-2 Q16 x64.)
Download this repository as an archive (ex: .zip) and extract itto a folder.
It is best to put it in a short path, such as under C: , to preventproblems with long path errors.
Install (under Linux)
Download this repository as an archive (ex: .zip) and extract itto a folder.
You will need perl >= v5.14.2 and Image Magick >= 6.9.1-2 installed.
You may also need the libfile-slurp-perl package, in debian-basedLinux distros.
It may be best to put it in a short path, to preventproblems with long path errors. This is a known problems under Windows,but may not be a problem under Linux.
Ubuntu Linux Derivative
This was testedby alfem in an Ubuntu 16.04derivative. It worked perfectly after he installed perl::slurp fromthe libfile-slurp-perl package first.
Other Linux Distributions
This has not been tested under other Linux distributions, but may workproperly.
Downloading A Document
You can download a document's images by its URL withone command.
On Windows, this can be done by running issuu-dl.This is the file with the Issuu icon.
On linux, this can be done by running issuu-dl.plor perl issuu-dl.pl.
This will show a prompt where you can enter 'Y' to select afilename containing a list of URLs to download. If you do notenter 'Y' it will go to the next step:
The next step is to show a prompt where you can paste an Issuu documentURL. These are usually in the format
http://issuu.com/[user]/docs/[title]
.The program will download each page as a .jpg file stored in asubdirectory under downloads. It will then convert all ofthe .jpg files to a single .pdf file stored directlyunder downloads (this step uses Image Magick).
Other Download Options
See issuu-dl html/md SYNOPSIS for options.
Downloads Directories and Files
The program stores downloaded data in a downloads subdirectory under thedirectory the program is located.
.jpg files are saved under a directory named in the format downloads/[title].These files are left behind after the .pdf file is created; it is up to you toclean them up. This also means you can do something different with them ifyou want to.
.pdf files created are saved in a file named in the format downloads/[title].pdf.
Converting Images to PDF
After downloading, you may want to re-convert images to PDF.On Windows, you can use jpg-to-pdf. On linux use perl jpg-to-pdf.pl.This is the program run by issuu-dl to convert multiple .jpg imagesto a single .pdf file.
Caveats
Can create large pdf files ( > 100M ), because each page is downloadedas a jpg image, rather than text plus images, as would normally be storedin a pdf file.
Resulting pdf file size depends on the number of pages in the document,and how large each page's image file is. This depends on how complexthe document's page images are.
Other Coversion Options
See jpg-to-pdf html/md SYNOPSIS for options.
DEPENDENCIES
- Perl ( tested with v5.14.2 )
- under Windows: DWIM Perl
- under cygwin: cygwin perl
- Image Magick ( tested with 6.9.1-2 Q16 x64 )
- this is used for converting from .jpg to .pdf
Testing Done
- tested under Windows 7,via command prompt and explorer
- also tested under Windows 7 cygwin 64-bitlinux-like command-line
- tested with Perl v5.14.2
- tested with Image Magick 6.9.1-2 Q16 x64
Configuration File
On its first run, issuu-dl.pl will create a
config.yaml
file in its directory (a copy of config-template.yaml).config.yaml
can be modified to change the behaviour ofissuu-dl.pl and jpg-to-pdf.pl . It contains commentsdescribing the config options.It is in YAML format, which is a well-known plain textformat that is machine-readable.
URLs
Further Notes
The .pl files contain documentation about their usage includingoptions not described here.
ImageMagick Convert Options
You can also use ImageMagick convert command directly,in a command prompts or shell, by using a command similar to oneof the following variants.
See the ImageMagick convert documentation for more options.
Windows:
Linux:
by eqagunn
About Issuu:
Issuu is an online service that allows for realistic and customizable viewingof digitally uploaded material, such as portfolios, books, magazine issues,newspapers, and other print media. It integrates with social networking sitesto promote uploaded material. Issuu's service is comparable to what Flickrdoes for photo-sharing, and what YouTube does for video-sharing. While mostof the documents are meant to be viewed online, some can be downloaded andsaved as well. Uploaded print material is viewed through a web browser and ismade to look like a printed publication with an animated page flip options.
About This Tool:
The tool itself is a batch script that uses GNU Wget made by Giuseppe Scrivanoand Hrvoje Nikšiæ. The main purpose of it is downloading Issuu publicationswhich aren't available for the download the usual way. Normally, to download anIssuu publication, one has to register first, and publication itself needs tohave download enabled. When using this tool neither of these two requirementsare needed because it downloads the images, shown to users through a Flashapplication when they are reading them, directly from the server.
How to Use It:
You can either run it with Windows Explorer or call it through Command Prompt.Just run a file named issuudl.bat and you will be asked to enter a document IDand number of pages of the publication you want to download. All downloadedfiles are being saved into downloads folder, into a subfolder named by documentID. You can also call it with Command Prompt and use it with parameters. Firstparameter is Document ID and second one is Number of Pages. Not specifying oneor both of those parameters will result in batch file asking you to input them.You can also specify a third parameter which is a name of the folder in whichdownloaded files will be saved. Keep in mind that a long name argument needsto be enclosed with quotes. This parameter is optional and if you don't specifyit folder will be named by document ID. Upon downloading the publication'Done!' message will be displayed accompanied by a beep sound.
Final Words:
I made this tool because I couldn't find another way to download ebook namedThe Art of Video Games: From Pac-Man to Mass Effect. In the end, I decided toshare it hoping it might help someone, somewhere out there. Feel free to visitmy blog http://eqagunn.blogspot.com where I write computer related stuff.