vbulletin_scraper 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: ba88d8ff5af927b35724c4f1744ebe22a3a3113c
4
+ data.tar.gz: 94fe4eb743e8e56239d0af28e4122e748506d6e0
5
+ SHA512:
6
+ metadata.gz: 94c07834d192a1ce45037f5536f8563419444c85278588b29e29ac6e67d374ad69808e698c84777373e0148d05b8a5a5c8ffc1dc1707875c2402968d0edabc50
7
+ data.tar.gz: b9220e82388059042fb489f530ee1869a2b667247b8cef63d6c221ccf9c97e4c91884b8f2c023b1ea33b2cdce0de1cf78a1c4b7f3675157cabc10feb946522b1
data/.gitignore ADDED
@@ -0,0 +1,10 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ /.vscode/
@@ -0,0 +1,3 @@
1
+ // Place your settings in this file to overwrite default and user settings.
2
+ {
3
+ }
@@ -0,0 +1,49 @@
1
+ # Contributor Code of Conduct
2
+
3
+ As contributors and maintainers of this project, and in the interest of
4
+ fostering an open and welcoming community, we pledge to respect all people who
5
+ contribute through reporting issues, posting feature requests, updating
6
+ documentation, submitting pull requests or patches, and other activities.
7
+
8
+ We are committed to making participation in this project a harassment-free
9
+ experience for everyone, regardless of level of experience, gender, gender
10
+ identity and expression, sexual orientation, disability, personal appearance,
11
+ body size, race, ethnicity, age, religion, or nationality.
12
+
13
+ Examples of unacceptable behavior by participants include:
14
+
15
+ * The use of sexualized language or imagery
16
+ * Personal attacks
17
+ * Trolling or insulting/derogatory comments
18
+ * Public or private harassment
19
+ * Publishing other's private information, such as physical or electronic
20
+ addresses, without explicit permission
21
+ * Other unethical or unprofessional conduct
22
+
23
+ Project maintainers have the right and responsibility to remove, edit, or
24
+ reject comments, commits, code, wiki edits, issues, and other contributions
25
+ that are not aligned to this Code of Conduct, or to ban temporarily or
26
+ permanently any contributor for other behaviors that they deem inappropriate,
27
+ threatening, offensive, or harmful.
28
+
29
+ By adopting this Code of Conduct, project maintainers commit themselves to
30
+ fairly and consistently applying these principles to every aspect of managing
31
+ this project. Project maintainers who do not follow or enforce the Code of
32
+ Conduct may be permanently removed from the project team.
33
+
34
+ This code of conduct applies both within project spaces and in public spaces
35
+ when an individual is representing the project or its community.
36
+
37
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
38
+ reported by contacting a project maintainer at walters.benj@gmail.com. All
39
+ complaints will be reviewed and investigated and will result in a response that
40
+ is deemed necessary and appropriate to the circumstances. Maintainers are
41
+ obligated to maintain confidentiality with regard to the reporter of an
42
+ incident.
43
+
44
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
45
+ version 1.3.0, available at
46
+ [http://contributor-covenant.org/version/1/3/0/][version]
47
+
48
+ [homepage]: http://contributor-covenant.org
49
+ [version]: http://contributor-covenant.org/version/1/3/0/
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in vbulletin_scraper.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 Ben Walters
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.
data/README.md ADDED
@@ -0,0 +1,41 @@
1
+ # VbulletinScraper
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/vbulletin_scraper`. 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 'vbulletin_scraper'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install vbulletin_scraper
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. 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/[USERNAME]/vbulletin_scraper. 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
+
data/Rakefile ADDED
@@ -0,0 +1,2 @@
1
+ require "bundler/gem_tasks"
2
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "vbulletin_scraper"
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
data/bin/setup ADDED
@@ -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
@@ -0,0 +1,101 @@
1
+ require 'nokogiri'
2
+ require 'open-uri'
3
+ require 'open_uri_redirections'
4
+
5
+ module VbulletinScraper
6
+ module V4
7
+ class ForumScraper
8
+ def initialize(input)
9
+ @data = nil
10
+ if input.start_with? "http" || "www"
11
+ @data = Nokogiri::HTML(open(input, :allow_redirections => :all))
12
+ @data.encoding = "UTF-8"
13
+ else
14
+ @data = Nokogiri::HTML(input)
15
+ @data.encoding = "UTF-8"
16
+ end
17
+ end
18
+
19
+ def is_valid_vbulletin
20
+ if get_vbulletin_version != ''
21
+ return true
22
+ else
23
+ return false
24
+ end
25
+ end
26
+
27
+ def get_vbulletin_version
28
+ vbulletinVersion = get_item_by_selector_with_attribute('meta[name="generator"]', 'content')
29
+ if vbulletinVersion != nil
30
+ return get_raw_text(vbulletinVersion.gsub('vBulletin', ''))
31
+ end
32
+ return ''
33
+ end
34
+
35
+ def get_forum_url
36
+ pageUrl = get_item_by_selector_with_attribute('base', 'href')
37
+ if pageUrl != nil
38
+ return get_raw_text(pageUrl)
39
+ end
40
+ return ''
41
+ end
42
+
43
+ def get_forum_title
44
+ forumTitle = get_item_by_selector_with_attribute('#logo img', 'alt')
45
+ if forumTitle == ''
46
+ forumTitle = get_item_by_selector_with_attribute('.logo img', 'title')
47
+ end
48
+ if forumTitle != nil
49
+ return get_raw_text(forumTitle)
50
+ else
51
+ return ''
52
+ end
53
+ end
54
+
55
+ def get_item_by_selector(selector)
56
+ if @data != nil
57
+ if @data.at_css(selector)
58
+ return @data.at_css(selector)
59
+ end
60
+ end
61
+ return nil
62
+ end
63
+
64
+ def get_items_by_selector(selector)
65
+ if @data != nil
66
+ if @data.css(selector)
67
+ return @data.css(selector)
68
+ end
69
+ end
70
+ end
71
+
72
+ def get_item_by_selector_with_attribute(selector, attribute)
73
+ if @data != nil
74
+ if @data.at_css(selector)
75
+ return @data.at_css(selector)[attribute]
76
+ end
77
+ end
78
+ return nil
79
+ end
80
+
81
+ def get_raw_text(input)
82
+ if input != nil
83
+ return input.strip.gsub(/\u00a0/, ' ')
84
+ else
85
+ return nil
86
+ end
87
+ end
88
+
89
+ def get_int(input)
90
+ if input != nil
91
+ if input != ''
92
+ begin
93
+ return input.to_i
94
+ end
95
+ end
96
+ end
97
+ return 0
98
+ end
99
+ end
100
+ end
101
+ end
@@ -0,0 +1,130 @@
1
+ require 'nokogiri'
2
+ require 'open-uri'
3
+ require 'open_uri_redirections'
4
+
5
+ module VbulletinScraper
6
+ module V4
7
+ class PostScraper
8
+ def initialize(input)
9
+ @data = nil
10
+ if input.start_with? "http" || "www"
11
+ @data = Nokogiri::HTML(open(input, :allow_redirections => :all))
12
+ @data.encoding = "UTF-8"
13
+ else
14
+ @data = Nokogiri::HTML(input)
15
+ @data.encoding = "UTF-8"
16
+ end
17
+ end
18
+
19
+ def get_vbulletin_post_id
20
+ vbulletinPostId = get_item_by_selector_with_attribute('.nodecontrols a', 'name')
21
+ if vbulletinPostId != nil
22
+ return get_raw_text(vbulletinPostId.gsub('post', ''))
23
+ end
24
+ return ''
25
+ end
26
+
27
+ def get_post_author
28
+ postAuthor = get_item_by_selector('.username')
29
+ if postAuthor != nil
30
+ return get_raw_text(postAuthor.text)
31
+ end
32
+ return ''
33
+ end
34
+
35
+ def get_post_content_raw
36
+ postContent = get_item_by_selector('.content blockquote')
37
+ if postContent != nil
38
+ return postContent.to_s
39
+ end
40
+ return ''
41
+ end
42
+
43
+ def get_post_content
44
+ postContent = get_items_by_selector('.content blockquote > text()')
45
+ if postContent != nil
46
+ return get_raw_text(postContent.to_s)
47
+ end
48
+ return ''
49
+ end
50
+
51
+ def get_post_submit_datetime
52
+ dateFormat = '%m-%d-%Y'
53
+ timeFormat = '%I:%M %P'
54
+ dateTimeFormat = dateFormat + ', ' + timeFormat
55
+
56
+ rawDateTimeString = get_item_by_selector('.date')
57
+ if rawDateTimeString != nil
58
+ rawDateTimeString = get_raw_text(rawDateTimeString.text)
59
+ if rawDateTimeString.include? 'Yesterday'
60
+ rawDateTimeString = rawDateTimeString.gsub('Yesterday', '')
61
+ formattedDateTimeString = Date.yesterday.strftime(dateFormat) + rawDateTimeString
62
+ submitDateTime = DateTime.strptime(formattedDateTimeString, dateTimeFormat)
63
+ elsif rawDateTimeString.include? 'Today'
64
+ rawDateTimeString = rawDateTimeString.gsub('Today', '')
65
+ formattedDateTimeString = Date.today.strftime(dateFormat) + rawDateTimeString
66
+ submitDateTime = DateTime.strptime(formattedDateTimeString, dateTimeFormat)
67
+ else
68
+ submitDateTime = DateTime.strptime(rawDateTimeString, dateTimeFormat)
69
+ end
70
+ return submitDateTime
71
+ end
72
+ return nil
73
+ end
74
+
75
+ def get_quotes
76
+ quotes = get_items_by_selector('.bbcode_container')
77
+ if quotes != nil
78
+ return get_items_by_selector('.bbcode_container')
79
+ else
80
+ return []
81
+ end
82
+ end
83
+
84
+ def get_item_by_selector(selector)
85
+ if @data != nil
86
+ if @data.at_css(selector)
87
+ return @data.at_css(selector)
88
+ end
89
+ end
90
+ return nil
91
+ end
92
+
93
+ def get_items_by_selector(selector)
94
+ if @data != nil
95
+ if @data.css(selector)
96
+ return @data.css(selector)
97
+ end
98
+ end
99
+ end
100
+
101
+ def get_item_by_selector_with_attribute(selector, attribute)
102
+ if @data != nil
103
+ if @data.at_css(selector)
104
+ return @data.at_css(selector)[attribute]
105
+ end
106
+ end
107
+ return nil
108
+ end
109
+
110
+ def get_raw_text(input)
111
+ if input != nil
112
+ return input.strip.gsub(/\u00a0/, ' ').gsub('\t', '')
113
+ else
114
+ return nil
115
+ end
116
+ end
117
+
118
+ def get_int(input)
119
+ if input != nil
120
+ if input != ''
121
+ begin
122
+ return input.to_i
123
+ end
124
+ end
125
+ end
126
+ return 0
127
+ end
128
+ end
129
+ end
130
+ end
@@ -0,0 +1,62 @@
1
+ require 'nokogiri'
2
+ require 'open-uri'
3
+ require 'open_uri_redirections'
4
+
5
+ module VbulletinScraper
6
+ module V4
7
+ class QuoteScraper
8
+ def initialize(input)
9
+ @data = nil
10
+ if input.start_with? "http" || "www"
11
+ @data = Nokogiri::HTML(open(input, :allow_redirections => :all))
12
+ @data.encoding = "UTF-8"
13
+ else
14
+ @data = Nokogiri::HTML(input)
15
+ @data.encoding = "UTF-8"
16
+ end
17
+ end
18
+
19
+ def get_quote_author
20
+ quoteAuthor = get_item_by_selector('.bbcode_postedby strong')
21
+ if quoteAuthor != nil
22
+ return get_raw_text(quoteAuthor.text)
23
+ end
24
+ return ''
25
+ end
26
+
27
+ def get_quote_content
28
+ quoteContent = get_item_by_selector('.message')
29
+ if quoteContent != nil
30
+ return get_raw_text(quoteContent.text)
31
+ end
32
+ return ''
33
+ end
34
+
35
+ def get_item_by_selector(selector)
36
+ if @data != nil
37
+ if @data.at_css(selector)
38
+ return @data.at_css(selector)
39
+ end
40
+ end
41
+ return nil
42
+ end
43
+
44
+ def get_item_by_selector_with_attribute(selector, attribute)
45
+ if @data != nil
46
+ if @data.at_css(selector)
47
+ return @data.at_css(selector)[attribute]
48
+ end
49
+ end
50
+ return nil
51
+ end
52
+
53
+ def get_raw_text(input)
54
+ if input != nil
55
+ return input.strip.gsub(/\u00a0/, ' ')
56
+ else
57
+ return nil
58
+ end
59
+ end
60
+ end
61
+ end
62
+ end
@@ -0,0 +1,145 @@
1
+ require 'nokogiri'
2
+ require 'open-uri'
3
+ require 'open_uri_redirections'
4
+
5
+ module VbulletinScraper
6
+ module V4
7
+ class TopicScraper
8
+ def initialize(input)
9
+ @data = nil
10
+ if input.start_with? "http" || "www"
11
+ @data = Nokogiri::HTML(open(input, :allow_redirections => :all))
12
+ @data.encoding = "UTF-8"
13
+ else
14
+ @data = Nokogiri::HTML(input)
15
+ @data.encoding = "UTF-8"
16
+ end
17
+ end
18
+
19
+ def is_valid_vbulletin
20
+ if get_vbulletin_version != ''
21
+ return true
22
+ else
23
+ return false
24
+ end
25
+ end
26
+
27
+ def get_vbulletin_version
28
+ vbulletinVersion = get_item_by_selector_with_attribute('meta[name="generator"]', 'content')
29
+ if vbulletinVersion != nil
30
+ return get_raw_text(vbulletinVersion.gsub('vBulletin', ''))
31
+ end
32
+ return ''
33
+ end
34
+
35
+ def get_current_page_number
36
+ if is_valid_vbulletin
37
+ pageNumber = get_item_by_selector('#pagination_top a.popupctrl')
38
+ if pageNumber != nil
39
+ pageNumber = pageNumber.text.gsub('Page', '').gsub(' ', '').split('of').first
40
+ return get_int(get_raw_text(pageNumber))
41
+ else
42
+ return 1
43
+ end
44
+ end
45
+ return 0
46
+ end
47
+
48
+ def get_total_page_count
49
+ if is_valid_vbulletin
50
+ pageCount = get_item_by_selector('#pagination_top a.popupctrl')
51
+ if pageCount != nil
52
+ pageCount = pageCount.text().gsub('Page', '').gsub(' ', '').split('of').last
53
+ return get_int(get_raw_text(pageCount))
54
+ else
55
+ return 1
56
+ end
57
+ end
58
+ return ''
59
+ end
60
+
61
+ def get_vbulletin_topic_id
62
+ vbulletinTopicId = get_item_by_selector_with_attribute('input[name="searchthreadid"]', 'value')
63
+ if vbulletinTopicId != nil
64
+ return get_raw_text(vbulletinTopicId)
65
+ end
66
+ return ''
67
+ end
68
+
69
+ def get_topic_url
70
+ topicUrl = get_item_by_selector_with_attribute('a[rel="start"]', 'href')
71
+ if topicUrl == nil
72
+ topicUrl = get_item_by_selector_with_attribute('link[rel="canonical"]', 'href')
73
+ end
74
+ if topicUrl != nil && topicUrl != ''
75
+ return get_raw_text(topicUrl)
76
+ else
77
+ return ''
78
+ end
79
+ end
80
+
81
+ def get_topic_title
82
+ topicTitle = get_item_by_selector('.threadtitle a')
83
+ if topicTitle != nil
84
+ return get_raw_text(topicTitle.text)
85
+ else
86
+ return ''
87
+ end
88
+ end
89
+
90
+ def get_posts
91
+ posts = get_items_by_selector('.postcontainer')
92
+ if posts != nil
93
+ return get_items_by_selector('.postcontainer')
94
+ else
95
+ return []
96
+ end
97
+ end
98
+
99
+ def get_item_by_selector(selector)
100
+ if @data != nil
101
+ if @data.at_css(selector)
102
+ return @data.at_css(selector)
103
+ end
104
+ end
105
+ return nil
106
+ end
107
+
108
+ def get_items_by_selector(selector)
109
+ if @data != nil
110
+ if @data.css(selector)
111
+ return @data.css(selector)
112
+ end
113
+ end
114
+ end
115
+
116
+ def get_item_by_selector_with_attribute(selector, attribute)
117
+ if @data != nil
118
+ if @data.at_css(selector)
119
+ return @data.at_css(selector)[attribute]
120
+ end
121
+ end
122
+ return nil
123
+ end
124
+
125
+ def get_raw_text(input)
126
+ if input != nil
127
+ return input.strip.gsub(/\u00a0/, ' ')
128
+ else
129
+ return nil
130
+ end
131
+ end
132
+
133
+ def get_int(input)
134
+ if input != nil
135
+ if input != ''
136
+ begin
137
+ return input.to_i
138
+ end
139
+ end
140
+ end
141
+ return 0
142
+ end
143
+ end
144
+ end
145
+ end
@@ -0,0 +1,9 @@
1
+ module VbulletinScraper
2
+ class Configuration
3
+ attr_accessor :post_count
4
+
5
+ def initialize
6
+ @post_count = 10
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,3 @@
1
+ module VbulletinScraper
2
+ VERSION = "0.1.0"
3
+ end
@@ -0,0 +1,24 @@
1
+ require_relative 'vbulletin_scraper/version'
2
+ require_relative 'configuration'
3
+ require_relative 'V4/forum_scraper'
4
+ require_relative 'V4/topic_scraper'
5
+ require_relative 'V4/post_scraper'
6
+ require_relative 'V4/quote_scraper'
7
+
8
+ module VbulletinScraper
9
+ class << self
10
+ attr_writer :configuration
11
+ end
12
+
13
+ def self.configuration
14
+ @configuration ||= Configuration.new
15
+ end
16
+
17
+ def self.configure
18
+ yield(configuration)
19
+ end
20
+
21
+ def self.reset
22
+ @configuration = Configuration.new
23
+ end
24
+ end
@@ -0,0 +1,28 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'vbulletin_scraper/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "vbulletin_scraper"
8
+ spec.version = VbulletinScraper::VERSION
9
+ spec.authors = ["Ben Walters"]
10
+ spec.email = ["walters.benj@gmail.com"]
11
+
12
+ spec.description = "Scrape compatible vBulletin forum threads for post content."
13
+ spec.summary = "This gem is designed to allow you to scrape compatible vBulletin forum threads for various data."
14
+ spec.homepage = "https://github.com/bendrick92/vbulletin_scraper"
15
+ spec.license = "MIT"
16
+
17
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
+ spec.bindir = "exe"
19
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
+ spec.require_paths = ["lib"]
21
+
22
+ spec.add_dependency 'nokogiri', '~> 1.6'
23
+ spec.add_dependency 'open_uri_redirections', '~> 0.2'
24
+
25
+ spec.add_development_dependency 'bundler', '~> 1.11'
26
+ spec.add_development_dependency 'rake', '~> 10.0'
27
+ spec.add_development_dependency 'rspec', '~> 3.2'
28
+ end
metadata ADDED
@@ -0,0 +1,132 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: vbulletin_scraper
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Ben Walters
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2016-09-24 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: nokogiri
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.6'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.6'
27
+ - !ruby/object:Gem::Dependency
28
+ name: open_uri_redirections
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '0.2'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '0.2'
41
+ - !ruby/object:Gem::Dependency
42
+ name: bundler
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.11'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.11'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '10.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '10.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rspec
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '3.2'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '3.2'
83
+ description: Scrape compatible vBulletin forum threads for post content.
84
+ email:
85
+ - walters.benj@gmail.com
86
+ executables: []
87
+ extensions: []
88
+ extra_rdoc_files: []
89
+ files:
90
+ - ".gitignore"
91
+ - ".vscode/settings.json"
92
+ - CODE_OF_CONDUCT.md
93
+ - Gemfile
94
+ - LICENSE.txt
95
+ - README.md
96
+ - Rakefile
97
+ - bin/console
98
+ - bin/setup
99
+ - lib/V4/forum_scraper.rb
100
+ - lib/V4/post_scraper.rb
101
+ - lib/V4/quote_scraper.rb
102
+ - lib/V4/topic_scraper.rb
103
+ - lib/configuration.rb
104
+ - lib/vbulletin_scraper.rb
105
+ - lib/vbulletin_scraper/version.rb
106
+ - vbulletin_scraper.gemspec
107
+ homepage: https://github.com/bendrick92/vbulletin_scraper
108
+ licenses:
109
+ - MIT
110
+ metadata: {}
111
+ post_install_message:
112
+ rdoc_options: []
113
+ require_paths:
114
+ - lib
115
+ required_ruby_version: !ruby/object:Gem::Requirement
116
+ requirements:
117
+ - - ">="
118
+ - !ruby/object:Gem::Version
119
+ version: '0'
120
+ required_rubygems_version: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ requirements: []
126
+ rubyforge_project:
127
+ rubygems_version: 2.4.8
128
+ signing_key:
129
+ specification_version: 4
130
+ summary: This gem is designed to allow you to scrape compatible vBulletin forum threads
131
+ for various data.
132
+ test_files: []