tomosia_icon8_crawl 0.1.1 → 0.1.2
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 +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +22 -1
- data/lib/tomosia_icon8_crawl/cli.rb +1 -1
- data/lib/tomosia_icon8_crawl/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2578a3056544b2c996f4bc667c341f0d297a3873f7ccd95f99c71de597fe124f
|
4
|
+
data.tar.gz: b07c4616d4a6e077878e7039e131d5ae70a1933eb3c8f45500324621d58b8f41
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 074a677795357e32188a3a2894b3e8f703589746045e3138634017e28da62462d8f8777df5054dfd81bad230bd3c25ca274b4a06583ff6bd74740621e03bc95e
|
7
|
+
data.tar.gz: 68ec41c66819afd2b7559603aac3b738d302501074860792b4509855f57bab4aa902088cfc475ff35b382e7426f6a9c330965692fd43962fc2ec0021b6670906
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -22,7 +22,28 @@ Or install it yourself as:
|
|
22
22
|
|
23
23
|
## Usage
|
24
24
|
|
25
|
-
|
25
|
+
Commandline or Terminal:
|
26
|
+
Download all photos including pages from icon8.com with keyword you search
|
27
|
+
$ tomosia_icon8_crawl crawl "keyword" --destination="storage path"
|
28
|
+
Download pictures with number you want to get from icon8.com with keyword to find
|
29
|
+
$ tomosia_icon8_crawl crawl "keyword" --destination="storage path" --max=number
|
30
|
+
Developers:
|
31
|
+
Gemfile:
|
32
|
+
$ gem 'tomosia_icon8_crawl'
|
33
|
+
Require:
|
34
|
+
$ require 'tomosia_icon8_crawl'
|
35
|
+
Download all photos including pages from icon8.com with keyword you search
|
36
|
+
$ TomosiaIcon8Crawl::CrawlIcon8.crawl("keyword", "destination")
|
37
|
+
Download pictures with number you want to get from icon8.com with keyword to find
|
38
|
+
$ TomosiaIcon8Crawl::CrawlIcon8.crawl("keyword", "destination", max)
|
39
|
+
Help:
|
40
|
+
- keyword is the word used for searching.
|
41
|
+
ex: corona, car, virus,...
|
42
|
+
- destination is the path of the directory where the image was downloaded.
|
43
|
+
ex: E:\download, C:\download, C:\Desktop,...
|
44
|
+
- max max is the number of images you want to download.
|
45
|
+
ex: 100, 10, 5, 1000,...
|
46
|
+
|
26
47
|
|
27
48
|
## Development
|
28
49
|
|
@@ -8,7 +8,7 @@ module TomosiaIcon8Crawl
|
|
8
8
|
option :destination
|
9
9
|
option :max
|
10
10
|
def crawl(keyword)
|
11
|
-
TomosiaIcon8Crawl::CrawlIcon8.crawl(keyword, options[:destination], options[:max]
|
11
|
+
TomosiaIcon8Crawl::CrawlIcon8.crawl(keyword, options[:destination], options[:max])
|
12
12
|
end
|
13
13
|
end
|
14
14
|
end
|