Pixiv
A client library for pixiv
Install / Use
npx skills add uasi/pixivInstalls into whichever agent you are using.
README
Pixiv gem
A client library for pixiv
Important Note
The pixiv Guidelines [en, ja] prohibit to crawl the pixiv service. Do not abuse this library or you may be banned!
Installation
Add this line to your application's Gemfile:
gem 'pixiv'
And then execute:
$ bundle
Or install it yourself as:
$ gem install pixiv
Synopsis
pixiv = Pixiv.client('pixiv_id', 'password') {|agent|
agent.user_agent_alias = 'Mac Safari'
}
illust_id = 123
illust = pixiv.illust(illust_id)
if illust.manga?
pixiv.download_manga(illust, ['manga/', :image_name])
else
pixiv.download_illust(illust, ['illust/', :image_name])
end
member_id = 456
member = pixiv.member(member_id)
member.works.each do |illust|
puts illust.title
puts illust.caption
end
me = pixiv.member
me.bookmarks.each do |illust|
author = illust.member
puts author.name
puts author.works.count
end
Usage
See a sample script
Documentation
Documentation for uasi/pixiv on rubydoc.info
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request
Related Skills
node-connect
385.5kDiagnose OpenClaw Android, iOS, or macOS node pairing, QR/setup code, route, auth, and connection failures.
blender-python-addon
40.5kBlender Python add-on rules for operators, panels, properties, registration, testing, and API-safe scripting
flutter-development-guidelines-cursorrules-prompt-file
40.5kCursor rules for Flutter development with MVVM architecture, Riverpod state management, Material widgets, and Dart style guidelines.
commit-push-pr
140.7kCommit, push, and open a PR



