wget, grep, sed, and optionally zip and sqlite3.
You will need your cookies as name=value;name2=value2 placed in ~/.exhentai.cookie in order for this script to work. You can also specify the location of your browser's cookie file to autogenerate this. (Only tested with firefox).
happypanda [URL]
-c |--cookies (cookies file) Specifies the cookies file
-d |--digits (number) Specifies the number of digits in filenames
-z |--zip Zip up files
-s |--skip Skip existing files
-S |--skip-dirs Skip existing directories
-n |--limit (number) Number of galleries to download ( 0 = unlimited )
-t |--tags (tag) Download galleries that match the tags ( URL overrides this )
-m |--no-metadata Do not create a metadata file
|--doujinshi Apply the doujinshi filter
|--manga Apply the manga filter
|--artist-cg Apply the artist cg filter
|--game-cg Apply the game cg filter
|--western Apply the western filter
|--non-h Apply the non-h filter
|--image-set Apply the image set filter
|--cosplay Apply the cosplay filter
|--asian-porn Apply the asian porn filter
|--misc Apply the misc filter
Specify a gallery URL to download that single gallery, or specify filters and tags to download all galleries that match.
If the script is halted, either due to exceeded bandwidth or manually terminating the script, a hidden file will be created that allows the download to resume from where it stopped.