vore 0.2.3-x86_64-windows → 0.2.5-x86_64-windows

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9b678010f37fe0654150b2747a6641ac2af4111615726fe17e8bfe87a65909f6
4
- data.tar.gz: 269e20b07c5149afaf4fe6640a0c06463775c414fb6dfd3030d0e9ee5ca0dc4e
3
+ metadata.gz: b244d29c525e65f76e7cffc59c453f26883d3c7c5d7a7ed2248ecaf319f22515
4
+ data.tar.gz: 9bd4a0446694812585e68cf8c0b750f808979f0732a136d6d15273a84e7afd4b
5
5
  SHA512:
6
- metadata.gz: 2a5d095b34fe869e89acb2989e8111c3e2b5b9f2fa3275b000a299a6f7100dc16949ab6ab44e50816c7d2b756f62336696e471433bc7c797931bc4acf56691a3
7
- data.tar.gz: 93077663d36531198f918a70c4cfde5fe4dd4d07a8db453b47f278e41b3068bfaa6ab184077df158091ab9c5dfc4b6de3b297a471b419aeae5c121cf51409cbd
6
+ metadata.gz: 2783cd4297442c2f4aee698adf301b130873d8e38d01bbdea0f32ec59fc70cdd332cd08f4b7bf3fbfd5e796cb003bc332a9e55d199af36bbacc40cac56e746ca
7
+ data.tar.gz: caea7c9488653fa4ad09eafc82dc6b1584379016a6e45256ba4bf7f83f8ddfe9ba8218144591ad62593f38b8dd6abc32e6d599932ec0a53c41f09efb3c594a7f
data/exe/vore-spider.exe CHANGED
Binary file
data/lib/vore/crawler.rb CHANGED
@@ -31,7 +31,7 @@ module Vore
31
31
 
32
32
  output = %x(#{@executable} \
33
33
  --user-agent #{user_agent} \
34
- --delay 3000 \
34
+ --delay 3500 \
35
35
  --url #{website} \
36
36
  download \
37
37
  -t \
@@ -48,16 +48,18 @@ module Vore
48
48
  Dir.glob(File.join(output_dir, "**", "*")).each do |path|
49
49
  next unless File.file?(path)
50
50
 
51
+ results[:pages_visited] += 1
52
+
51
53
  html_file = File.read(path).force_encoding("UTF-8")
52
- rewritten_html_file = @selma.rewrite(html_file)
53
54
 
54
- results[:pages_visited] += 1
55
- if rewritten_html_file.empty?
55
+ if html_file.empty?
56
56
  results[:pages_unprocessed] += 1
57
57
  results[:unprocessed_pages] << path
58
58
  next
59
59
  end
60
60
 
61
+ rewritten_html_file = @selma.rewrite(html_file)
62
+
61
63
  # drops the first 3 parts of the path, which are "tmp", "vore", and the site name
62
64
  url_path = path.split(FILE_SEPERATOR)[3..].join("/")
63
65
 
data/lib/vore/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Vore
4
- VERSION = "0.2.3"
4
+ VERSION = "0.2.5"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vore
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.5
5
5
  platform: x86_64-windows
6
6
  authors:
7
7
  - Garen J. Torikian
@@ -29,8 +29,7 @@ description:
29
29
  email:
30
30
  - gjtorikian@users.noreply.github.com
31
31
  executables: []
32
- extensions:
33
- - ext/vore/Cargo.toml
32
+ extensions: []
34
33
  extra_rdoc_files: []
35
34
  files:
36
35
  - Cargo.lock