Skip to content
This repository was archived by the owner on Oct 8, 2025. It is now read-only.
This repository was archived by the owner on Oct 8, 2025. It is now read-only.

Support special tags like "user:opai" or "vote:3:opai order:vote" #10

@xeron

Description

@xeron

Currently it results in (at least on Windows):

C:\Users\Henry\Downloads\danbooru-ruby-grabber-master\danbooru-ruby-grabber-master>danbooru.rb -b konachan user:opai
Tags are user:opai.
C:/Ruby23-x64/lib/ruby/2.3.0/fileutils.rb:253:in `mkdir': Not a directory @ dir_s_mkdir - user:opai (Errno::ENOTDIR)
        from C:/Ruby23-x64/lib/ruby/2.3.0/fileutils.rb:253:in `fu_mkdir'
        from C:/Ruby23-x64/lib/ruby/2.3.0/fileutils.rb:227:in `block (2 levels) in mkdir_p'
        from C:/Ruby23-x64/lib/ruby/2.3.0/fileutils.rb:225:in `reverse_each'
        from C:/Ruby23-x64/lib/ruby/2.3.0/fileutils.rb:225:in `block in mkdir_p'
        from C:/Ruby23-x64/lib/ruby/2.3.0/fileutils.rb:211:in `each'
        from C:/Ruby23-x64/lib/ruby/2.3.0/fileutils.rb:211:in `mkdir_p'
        from C:/Users/Henry/Downloads/danbooru-ruby-grabber-master/danbooru-ruby-grabber-master/lib/booru/posts.rb:42:in `download_by_tags'
        from C:/Users/Henry/Downloads/danbooru-ruby-grabber-master/danbooru-ruby-grabber-master/danbooru.rb:106:in `<main>'

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions