tomosia_wallhere_crawl 0.1.3 → 0.1.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 72c35e10a5fe5368bdcfd4a9566f607cac059634fb677ba95ab18567cd528d5d
4
- data.tar.gz: b14a4efd53f3c384dc9fc3ca8407cfcce175e8f88b7317a1b0c25641fb6f7a07
3
+ metadata.gz: dd67c5d8d2d74a0d746c9c31ac72d1134708ee8a1ffb06adbbe0c3dda473dfac
4
+ data.tar.gz: 2f970e2b80c1e80323124fd382ac7ea92172192ee50a6c0d916da837a3c27e81
5
5
  SHA512:
6
- metadata.gz: c4d47a5d31e7594919d7789bd3caac37d0d39187a7d3f9c77072a434f9c4e50968fb2458bdaf7fb5bd3811b58ce12111259ed03f2e07ceb5f1355826abaa3771
7
- data.tar.gz: 5eec4607e97c65cac6e1dd0f5876b26a8257f46652201068d0602d25ce65e4320130a4455e171b2d85fb5557a6b26102461376d0d4739530be6319213de90781
6
+ metadata.gz: d14336628f1f0a6e63b11239e76acee3bab8c73bb0280cac1330bd3f7f6dc97ef6cb4233603133a4c14aff8e22d2c17f75d3c524a650299c1fc3d7f9ea375a4d
7
+ data.tar.gz: 309f97cf283802a2f0d7559d9fb38301b50f5c36842a7f81759efe2cc182ffbbfcfdfc3db44fc1fd82a2d6a43b49c23aa834486792cd09fa981de838fb9fd1c3
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- tomosia_wallhere_crawl (0.1.3)
4
+ tomosia_wallhere_crawl (0.1.4)
5
5
  nokogiri
6
6
  thor
7
7
  writeexcel
data/README.md CHANGED
@@ -21,14 +21,19 @@ Or install it yourself as:
21
21
  $ gem install tomosia_wallhere_crawl
22
22
 
23
23
  ## Usage
24
- ****NOTE: key = "tag" , destination: "url saving" , max :number image**** <br/>
25
- - Crawl all image in tag!<br/>
26
- $ tomosia_wallhere_crawl crawl "key" --destination " "<br/>
27
- ex: $ tomosia_wallhere_crawl crawl "aaa" --destination "/home/tung/Desktop/img/"<br/>
28
- - Crawl images in tag with number of images!<br/>
29
- $ tomosia_wallhere_crawl crawl "key" --destination " " --max<br/>
30
- ex: $ tomosia_wallhere_crawl crawl "aaa" --destination "/home/tung/Desktop/img/" --max=100 <br/>
31
- - File save info images of tag in "destination"<br/>
24
+ ```
25
+ NOTE: key = "tag" , destination: "url saving" , max :number image
26
+
27
+ - Crawl all image in tag!
28
+ $ tomosia_wallhere_crawl crawl "key" --destination " "
29
+ ex: $ tomosia_wallhere_crawl crawl "aaa" --destination "/home/tung/Desktop/img/"
30
+
31
+ - Crawl images in tag with number of images!
32
+ $ tomosia_wallhere_crawl crawl "key" --destination " " --max
33
+ ex: $ tomosia_wallhere_crawl crawl "aaa" --destination "/home/tung/Desktop/img/" --max=100
34
+
35
+ - File save info images of tag in "destination"
36
+ ```
32
37
  ## Development
33
38
 
34
39
  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.
@@ -65,7 +65,7 @@ module TomosiaWallhereCrawl
65
65
  ui = img
66
66
  ex = File.extname(img).delete('.!s')
67
67
  size = ""
68
- File.open("#{destination}#{nameimg}","wb") do |file|
68
+ File.open("#{destination}/#{nameimg}","wb") do |file|
69
69
  file.write(image.read)
70
70
  size = image.size
71
71
  end
@@ -1,3 +1,4 @@
1
1
  module TomosiaWallhereCrawl
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
4
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tomosia_wallhere_crawl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - nguyen son tung
@@ -116,7 +116,8 @@ files:
116
116
  - lib/tomosia_wallhere_crawl/version.rb
117
117
  - pkg/tomosia_wallhere_crawl-0.1.1.gem
118
118
  - pkg/tomosia_wallhere_crawl-0.1.2.gem
119
- - tomosia_wallhere_crawl-0.1.2.gem
119
+ - pkg/tomosia_wallhere_crawl-0.1.3.gem
120
+ - tomosia_wallhere_crawl-0.1.3.gem
120
121
  - tomosia_wallhere_crawl.gemspec
121
122
  homepage: https://github.com/nguyensontung183183/tomosia_wallhere_crawl.git
122
123
  licenses: