javlibrary 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 8fe7dcd9e697fa0ea109bef68b7780e8a8c3eced
4
+ data.tar.gz: 8eecb7659c8b210d92f65264ef567b319ef49c7a
5
+ SHA512:
6
+ metadata.gz: 4bc06e893de438a8a5f4b2914d7c5ed59aca469666cf63c20d158269c668a9f5ce0bd7477e308c4dfa5123a109d7f41ae689db7deb73c7cf46fe6092fd3006ff
7
+ data.tar.gz: 9056dbcd3f5481fed86a9497b6c6b841293ea2c2ecc26ab1e14315a5bb08e42793f71adcfa233de848c235e4842ce1d7a85d1a088b255b394d826abaf3ee27f3
@@ -0,0 +1,12 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+
11
+ # rspec failure tracking
12
+ .rspec_status
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.3.0
5
+ before_install: gem install bundler -v 1.14.4
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at sunyuanhao123456@gmail.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in javlibrary.gemspec
4
+ gemspec
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2017 Yuanhao Sun
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,41 @@
1
+ # Javlibrary
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/javlibrary`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'javlibrary'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install javlibrary
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
+
31
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/Yuanhao Sun/javlibrary. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
36
+
37
+
38
+ ## License
39
+
40
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
41
+
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "javlibrary"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
Binary file
@@ -0,0 +1,32 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'javlibrary/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "javlibrary"
8
+ spec.version = Javlibrary::VERSION
9
+ spec.authors = ["Yuanhao Sun"]
10
+ spec.email = ["sunyuanhao123456@gmail.com"]
11
+
12
+ spec.summary = %q{Easy way to create your own AVlibrary}
13
+ spec.description = %q{It's a web-spider moudule for Javlibrary(Japan AV Library) website.}
14
+ spec.homepage = "https://syhdaily.com"
15
+ spec.license = "MIT"
16
+
17
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
18
+ f.match(%r{^(test|spec|features)/})
19
+ end
20
+ spec.bindir = "exe"
21
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
22
+ spec.require_paths = ["lib"]
23
+
24
+ spec.add_development_dependency "bundler", "~> 1.14"
25
+ spec.add_development_dependency "rake", "~> 10.0"
26
+ spec.add_development_dependency "rspec", "~> 3.0"
27
+ spec.add_development_dependency "mechanize", "~> 0"
28
+ spec.add_development_dependency "rest-client", "~> 0"
29
+ spec.add_development_dependency "mysql", "~> 0"
30
+ spec.add_development_dependency "nokogiri", "~> 0"
31
+
32
+ end
@@ -0,0 +1,5 @@
1
+ require "javlibrary/version"
2
+
3
+ module Javlibrary
4
+ # Your code goes here...
5
+ end
@@ -0,0 +1,14 @@
1
+ # encoding: utf-8
2
+
3
+ module Javlibrary
4
+ def client
5
+ client = Mysql2::Client.new(:host => "127.0.0.1",
6
+ :username => "root",
7
+ :password => "XuHefeng",
8
+ :database => "javlibrary_new")
9
+ end
10
+
11
+ module_function :client
12
+ end
13
+
14
+
@@ -0,0 +1,108 @@
1
+ # encoding:utf-8
2
+
3
+ module Javlibrary
4
+ def Javlibrary.downloader(identifer)
5
+ baseurl = "http://www.jav11b.com/cn/?v=#{identifer}"
6
+ response = Mechanize.new
7
+ response.user_agent = Mechanize::AGENT_ALIASES.values[rand(21)]
8
+ begin
9
+ response.get baseurl
10
+ rescue
11
+ retry
12
+ end
13
+
14
+ doc = Nokogiri::HTML(response.page.body)
15
+
16
+ video_title, details, video_genres, video_jacket_img = String.new, Array.new, String.new, String.new
17
+
18
+ video_title = doc.search('div[@id="video_title"]/h3/a').children.text
19
+ doc.search('//div[@id="video_info"]/div[@class="item"]/table/tr/td[@class="text"]').map do |row|
20
+ details << row.children.text
21
+ end
22
+
23
+ doc.search('//div[@id="video_genres"]/table/tr/td[@class="text"]/span[@class="genre"]/a').each do |row|
24
+ video_genres << row.children.text << " "
25
+ end
26
+
27
+ doc.search('//img[@id="video_jacket_img"]').each do |row|
28
+ video_jacket_img = row['src']
29
+ end
30
+
31
+ # return data format: title$id$date$director$maker$label$cast$genres$img_url
32
+ "#{video_title}$#{details[0]}$#{details[1]}$#{details[2]}$#{details[3]}$#{details[4]}$#{details[-1]}$#{video_genres}$#{video_jacket_img}"
33
+ #result = Hash.new
34
+ #result["title"] = video_title; result["id"] = details[0]; result["date"] = details[1]
35
+ #result["director"] = details[2]; result["maker"] = details[3]; result["label"] = details[4]
36
+ #result["cast"] = details[-1]; result["genres"] = video_genres; result["img_url"] = video_jacket_img
37
+ end
38
+
39
+ def Javlibrary.video_info_insert(client, index, identifer, actor_hash, genres_hash)
40
+ result = downloader(identifer)
41
+ title, id, date, director, maker, label, cast_tmp, genres_tmp, img_url = downloader(identifer).split('$')
42
+ cast = cast_tmp.split.reject(&:empty?)
43
+ genres = genres_tmp.split.reject(&:empty?)
44
+ begin
45
+ client.query("INSERT INTO video (video_id,video_name,license,url,director,label,date,maker)
46
+ VALUES (#{index},'#{title}','#{id}','#{img_url}','#{director}','#{label}','#{date}','#{maker}')")
47
+ rescue
48
+ return
49
+ end
50
+ cast.each do |a|
51
+ a_tmp = actor_hash[a]
52
+ next if a_tmp == nil
53
+ client.query("INSERT INTO v2a (v2a_fk_video,v2a_fk_actor) VALUES(#{index}, #{a_tmp.to_i})")
54
+ end
55
+
56
+ genres.each do |g|
57
+ g_tmp = genres_hash[g]
58
+ next if g_tmp == nil
59
+ client.query("INSERT INTO v2c (v2c_fk_video,v2c_fk_category) VALUES(#{index}, #{g_tmp.to_i})")
60
+ end
61
+
62
+ client.query("UPDATE label SET video_download=1 WHERE video_num=#{index}")
63
+ return nil
64
+ end
65
+
66
+ def download_all_video
67
+ client = Javlibrary.client
68
+ result = client.query("SELECT video_num, video_label FROM label WHERE video_download=0")
69
+ client.close
70
+
71
+ video_array = Array.new
72
+ result.each do |item|
73
+ video_array << item
74
+ end
75
+
76
+ video_array = video_array.each_slice(5000).to_a
77
+ actor_hash = Javlibrary::actor_hash
78
+ genre_hash = Javlibrary::genre_hash
79
+ thread_pool = Array::new
80
+
81
+ video_array.each do |group|
82
+ # Create a download thread
83
+ thread_temp = Thread.new {
84
+ client = Javlibrary.client
85
+ group.each do |item|
86
+ begin
87
+ video_info_insert(client, item['video_num'], item['video_label'],
88
+ actor_hash, genre_hash)
89
+ rescue
90
+ next
91
+ end
92
+ end
93
+ client.close
94
+ }
95
+ thread_pool << thread_temp
96
+ end
97
+ thread_pool.map(&:join)
98
+ end
99
+
100
+ def test
101
+ pp downloader('javlia322m')
102
+ end
103
+
104
+ module_function :test
105
+ module_function :download_all_video
106
+ end
107
+
108
+ Javlibrary::download_all_video
@@ -0,0 +1,27 @@
1
+ # encoding:utf-8
2
+
3
+ module Javlibrary
4
+ def actor_hash
5
+ client = Javlibrary.client
6
+ actor_hash = Hash.new
7
+ client.query("SELECT * FROM actor").each do |item|
8
+ actor_hash["#{item['actor_name']}"] = item['actor_id']
9
+ end
10
+ client.close
11
+
12
+ actor_hash
13
+ end
14
+
15
+ def genre_hash
16
+ client = Javlibrary.client
17
+ category_hash = Hash.new
18
+ client.query("SELECT * FROM category").each do |item|
19
+ category_hash["#{item['category_name']}"] = item['category_id']
20
+ end
21
+ client.close
22
+
23
+ category_hash
24
+ end
25
+
26
+ module_function :actor_hash, :genre_hash
27
+ end
@@ -0,0 +1,35 @@
1
+ # encoding:utf-8
2
+
3
+ module Javlibrary
4
+ def Javlibrary.genres
5
+ response = Mechanize.new; genres = Array.new
6
+ begin
7
+ response.get "http://www.jav11b.com/cn/genres.php"
8
+ rescue
9
+ retry
10
+ end
11
+
12
+ Nokogiri::HTML(response.page.body).search('//div[@class="genreitem"]/a').each do |row|
13
+ genres << row.children.text
14
+ end
15
+ genres.uniq
16
+ end
17
+
18
+ def genres_insert
19
+ client = Javlibrary.client
20
+ genres = genres()
21
+ genres.each do |e|
22
+ begin
23
+ client.query("INSERT INTO category (category_name) VALUES ('#{e}')")
24
+ rescue
25
+ next
26
+ end
27
+ end
28
+
29
+ client.close
30
+ end
31
+
32
+ module_function :genres_insert
33
+ end
34
+
35
+ Javlibrary::genres_insert
@@ -0,0 +1,47 @@
1
+ # encoding:utf-8
2
+
3
+ module Javlibrary
4
+ def Javlibrary.author_page_num(nokogiri_doc)
5
+ last_page = 1
6
+ nokogiri_doc.search('//div[@class="page_selector"]/a[@class="page last"]').each do |row|
7
+ last_page = row['href'].split("=")[-1].to_i
8
+ end
9
+ last_page
10
+ end
11
+
12
+ def get_all_actor
13
+ firsturl = "http://www.jav11b.com/cn/star_list.php?prefix="
14
+
15
+ client = Javlibrary.client
16
+ 'A'.upto('Z') do |alphabet|
17
+ tempurl = firsturl + alphabet
18
+ response = RestClient.get tempurl
19
+
20
+ doc = Nokogiri::HTML(response.body)
21
+ last_page = author_page_num(doc)
22
+
23
+ 1.upto(last_page) do |page_num|
24
+ temp_page_url = tempurl + "&page=#{page_num.to_s}"
25
+ response_page = RestClient.get temp_page_url
26
+ doc_page = Nokogiri::HTML(response_page.body)
27
+ doc_page.search('//div[@class="starbox"]/div[@class="searchitem"]/a').each do |row|
28
+ # row.text Actor.name
29
+ # row['href'].split("=")[-1] Actor.label
30
+ name = row.text; label = row['href'].split("=")[-1]
31
+ begin
32
+ client.query("INSERT INTO actor (actor_name, actor_label, type)
33
+ VALUES ('#{name}', '#{label}', '#{alphabet}')")
34
+ rescue
35
+ next
36
+ end
37
+ end
38
+ end
39
+ end
40
+
41
+ client.close
42
+ end
43
+
44
+ module_function :get_all_actor
45
+ end
46
+
47
+ Javlibrary::get_all_actor
@@ -0,0 +1,3 @@
1
+ module Javlibrary
2
+ VERSION = "0.1.1"
3
+ end
@@ -0,0 +1,72 @@
1
+ # encoding:utf-8
2
+
3
+ module Javlibrary
4
+ def Javlibrary.download_video_label(actor_id)
5
+ firsturl = "http://www.jav11b.com/ja/vl_star.php?s=#{actor_id}"
6
+ baseurl = "http://www.jav11b.com/ja/vl_star.php?&mode=&s=#{actor_id}&page="
7
+
8
+ begin
9
+ response = RestClient.get firsturl
10
+ rescue
11
+ retry
12
+ end
13
+
14
+ doc = Nokogiri::HTML(response.body)
15
+ last_page = 1
16
+ doc.search('//div[@class="page_selector"]/a[@class="page last"]').each do |row|
17
+ last_page = row['href'].split("=")[-1].to_i
18
+ end
19
+
20
+ result = []
21
+ 1.upto(last_page) do |page|
22
+ tempurl = baseurl + page.to_s
23
+ response = RestClient.get tempurl
24
+ Nokogiri::HTML(response.body).search('//div[@class="video"]/a').each do |row|
25
+ # Data:
26
+ # Video_label: row['href'].split("=")[-1]
27
+ # Video_title: row['title']
28
+ # client.query("INSERT INTO label (lable) VALUES ('#{row['href'].split("=")[-1]}')")
29
+ result << row['href'].split("=")[-1]
30
+ end
31
+ end
32
+
33
+ client = Javlibrary.client
34
+ result.each do |e|
35
+ begin
36
+ client.query("INSERT INTO label (video_label, video_download) VALUES ('#{e}', '0')")
37
+ rescue
38
+ next
39
+ end
40
+ end
41
+ client.close
42
+ end
43
+
44
+ def Javlibrary.select_actor(type)
45
+ client = Javlibrary.client
46
+ result = client.query("SELECT actor_label FROM actor WHERE type='#{type}'")
47
+ client.close
48
+
49
+ result.each do |e|
50
+ download_video_label(e["actor_label"])
51
+ end
52
+ end
53
+
54
+ def download_all_video_label
55
+ thread_pool =[]
56
+ 'A'.upto('Z').each do |alphabet|
57
+ thread_temp = Thread.new{
58
+ select_actor(alphabet)
59
+ }
60
+ thread_pool << thread_temp
61
+ end
62
+ thread_pool.map(&:join)
63
+ end
64
+
65
+ def download_all_video_info
66
+
67
+ end
68
+
69
+ module_function :download_all_video_label
70
+ end
71
+
72
+ Javlibrary::download_all_video_label
metadata ADDED
@@ -0,0 +1,162 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: javlibrary
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
5
+ platform: ruby
6
+ authors:
7
+ - Yuanhao Sun
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2017-05-28 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.14'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.14'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '3.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: mechanize
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rest-client
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: mysql
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: nokogiri
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ description: It's a web-spider moudule for Javlibrary(Japan AV Library) website.
112
+ email:
113
+ - sunyuanhao123456@gmail.com
114
+ executables: []
115
+ extensions: []
116
+ extra_rdoc_files: []
117
+ files:
118
+ - ".gitignore"
119
+ - ".rspec"
120
+ - ".travis.yml"
121
+ - CODE_OF_CONDUCT.md
122
+ - Gemfile
123
+ - LICENSE.txt
124
+ - README.md
125
+ - Rakefile
126
+ - bin/console
127
+ - bin/setup
128
+ - javlibrary-0.1.0.gem
129
+ - javlibrary.gemspec
130
+ - lib/javlibrary.rb
131
+ - lib/javlibrary/database.rb
132
+ - lib/javlibrary/downloader.rb
133
+ - lib/javlibrary/info_hash.rb
134
+ - lib/javlibrary/init.rb
135
+ - lib/javlibrary/name.rb
136
+ - lib/javlibrary/version.rb
137
+ - lib/javlibrary/video.rb
138
+ homepage: https://syhdaily.com
139
+ licenses:
140
+ - MIT
141
+ metadata: {}
142
+ post_install_message:
143
+ rdoc_options: []
144
+ require_paths:
145
+ - lib
146
+ required_ruby_version: !ruby/object:Gem::Requirement
147
+ requirements:
148
+ - - ">="
149
+ - !ruby/object:Gem::Version
150
+ version: '0'
151
+ required_rubygems_version: !ruby/object:Gem::Requirement
152
+ requirements:
153
+ - - ">="
154
+ - !ruby/object:Gem::Version
155
+ version: '0'
156
+ requirements: []
157
+ rubyforge_project:
158
+ rubygems_version: 2.6.8
159
+ signing_key:
160
+ specification_version: 4
161
+ summary: Easy way to create your own AVlibrary
162
+ test_files: []