Downloads the frames from pixiv ugokus (like this one)
Works on R-18 as well without an account.
You need a couple of gems.
- nokogiri
- rubyzip
Simply gem install
those for maximum profit.
Tested on Ruby 2.1.2 but it should work on any 2.x and probably any 1.9 branch.
ruby pixiv_ugoku.rb illust_id [output_folder]
The illust_id in the case of http://www.pixiv.net/member_illust.php?mode=medium&illust_id=44320117 would be 44320117
Will download the image contained in illust_id to output_folder. By default it will output to the ugoku
folder if you didn't specify one.
Hit me up on twitter as @ubercow or on Google+ as +ZakKristjanson if you have anything to add. I might make this into a gem later with a proper git repo, but for now it's staying as a simple gist.
The MIT License (MIT)
Copyright (c) 2014 Zak "Ubercow" Kristjanson
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.