Monday, April 15, 2013

Fast DLI Downloader Tool to download PDF Books from Digital Library Of India

Digital Library Of India [http://www.dli.ernet.in/] hosts millions of copyright freed scanned books in English and Indian Languages for public access. Unfortunately this website does not provide any mechanism to download the entire e-book in any format. DLI-downloader provides a smooth and hassle free interface to all DLI servers which allows you to search and downloads the eBooks right from the Tool.

Current status of Book Collection at DLI - http://www.dli.gov.in/cgi-bin/status.cgi

Download this Tool from here - http://dli.shunyafoundation.com/

Video Demonstration of the Tool



 5 minutes Video Introduction for dli-downloader Tool (Play HD)

Key Features of DLI Downloader

  1. Search DLI books at lightening fast speed. Option to find the similar books.
  2. Download Books in PDF Format right within the DLI Downloader tool with a single click.
  3. Queue up your download items in the tool and let it download books silently for you.
  4. Load balancing from multiple dli-servers for better speed for downloads.Tool will pick up the best speed available DLI server for download.
  5. Application can minimize to system tray so as not to interfere with your other tasks & reducing the memory footprint. It saves unfinished jobs upon exit.
  6. Configure the download speed threshold of the application over a metered network so that the tool does not eat up all the available bandwidth of the network.
  7. Automatic error handling for the corrupt file downloads due to unknown errors at the time of PDF conversion.
  8. Internet Connectivity Issues - not a problem with this tool. Downloads will pause when your internet connection goes down and resume after internet is back. what else you want ?
  9. Works well on x64 & x86 on Windows 7, Windows 8, Mac And Ubuntu 12.10.
  10. Above all, everything is for Free !!

How it Works ?

Searching a Book in Digital Library of India is very easy through this tool, just type in the keyword in search panel. Existing downloads appears in green color, that you can directly open. For other titles, just right click and choose download.

Searching for the Desired Book




Downloading the Book in PDF format

Sometimes we want to configure settings for the dli downloader, the Settings Tabs is right for this work. Don't change the settings if you do not understand it.

Configuring the Settings


System Requirements

  1. Java 8 runtime environment (http://java.com/en/download/index.jsp)
  2. Windows 7, Windows 8, Mac, Ubuntu 12.10 x64 & x86
  3. Latest DLI Downloader from http://dli.shunyafoundation.com/

How To Run ?

  1. Run the dli-downloader jar by double clicking it on windows. Unix and Mac users please do run the following command
    java -jar dli-downloader-5.9-jar-with-dependencies
  2. Create Local Index for Books catalogue for a language of you choice, this step is must for enabling the local search (otherwise you need to manually enter barcode into downloads Tab)
  3. Search the desired book in Search Tab and right click to download the book.
  4. Your download will start or queue up.
  5. Once you are done with all the downloads, then find the DLI icon in the system tray and right click on it, then choose exit to quit the application.
  6. That's it, enjoy !!!

Configuration Settings Explained

  • numberParallelJobs - number of parallel downloads at any given point in time.
  • readTimeOutMs - this is socket read time out value before throwing an timeout exception in milli seconds.
  • rootDirectory - directory where the fresh downloads will be saved.
  • speedLimitKBps - maximum speed limit that the application will use for all its downloads.
  • deleteTifIfSuccessful - if set to true then the TIFF files will be deleted if PDF conversion and tiff download goes successful.
  • maxRetryCount- If connection to server is very slow then the connection timeout exception can occur. In case the download fails, then this property will decide how many times to retry the failed download.
  • maxConsecutiveFailure - maximum number of consecutive IOExceptions from the server before the tool stops downloading the given barcode.
  • downloadDirectories- comma or semicolon separated list of directories which can contain the already downloaded PDF files. The pdf file must contain the barcode in its name. This directory will be scanned by the tool at the time of startup for caching the existing downloads and a warning prompt will appear to user if he tries to download the same barcode again.
  • quality - TIFF to PDF conversion quality. Maximum quality is A2, minimum is A7
  • lookAndFeelNumber - 0 is SystemLookAndFeel, 1 is NimbusLookAndFeel, 2 is WindowsLookAndFeel
  • createBarcodePage - setting it to true will create an initial page displaying the metadata of the barcode.

Java Source Key Features 

The Java Implementation of this tool embeds various design patterns & Algorithms like,
  1. Token Bucket Algorithm for managing the download speed
  2. Observer Design pattern which enables Swings GUI to be observer of the running download task
  3. Concurrency Utilities like Executor Framework has been utilized for the parallel processing and maximized throughput.

Download the latest version from GitHub

Download the latest version from the below location -
http://www.shunyafoundation.com/dli-downloader-v6.0.2/dp/C755E13VGS


Donation (As little as Rs 100 matters)

If anyone feel like donating money for this work, feel free to do that. Even a small amount will help us support the cause (Distributing Vedic Literature, Tree Plantation & Gow Palan, etc)

Where do we spend the funds ?
http://dli-downloader.blogspot.in/2013/12/charity-for-prosperity-where-fund-goes.html

Bank Deposit by NEFT

MUNISH CHANDEL
a/c 5277618224
IFSC : CITI0000002
Citi Bank N.A. Delhi

Don't forget to send me the details on email : cancerian0684@gmail.com


Feedback

For any feedback or suggestions, write back to me cancerian0684@gmail.com or leave a comment on this webpage.