amazon2irc 7.11.2017.020024 → 7.11.2017.020025

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
  SHA1:
3
- metadata.gz: 4ef9ced4891e3b250e7abc40c674fdf6a438c9e9
4
- data.tar.gz: 5dba0ea5d94874f68877844d6212a7bc9cc56b1a
3
+ metadata.gz: 6be17ad7939d6716b5e68ac88618543008ea25d1
4
+ data.tar.gz: f4844fb99e33a5d2f8a964e531386e2c826aea69
5
5
  SHA512:
6
- metadata.gz: 39b0d564a8011c937362fdf8e214d001fc8c697ecb29a80d7a943a5c27dcdcfed7ba327d79234a60620013146d6f1c0c46c965840a6ce596745d4ac6a679e73f
7
- data.tar.gz: 3fa4caeb95d0ad28c22c9bfe18ceebe9118d0da4cb87a2bceb20a026b997a3517fad635293f3d63185de71bd723fbaa0af32a7ed43534b3d739203a0d8755c5c
6
+ metadata.gz: b867bfc9576add23ec01979379dad6fc376f98ce3b4cac4a7aecb06636b84e58c4d0b73672f7b9553e0a249425e6bdfab0b0bb271cae17550330d952f9b2f3f2
7
+ data.tar.gz: d8623f7c581d8e72e72fe726a8503895bd29dbdcb19452905d2b854c4ce4f89b4a84e0d4b5373a3859ae438ffe140f6bb87a0fa451f95436219b84b33da1cf73
@@ -16,8 +16,8 @@ module Amazon2irc
16
16
  connect
17
17
  wait
18
18
  loop do
19
- scanning if opts['rss']
20
- spidering if opts['spidering']
19
+ scanning if @opts['rss']
20
+ spidering if @opts['spidering']
21
21
  write_persistent_array
22
22
  sleep @opts['scan-delay']
23
23
  end
@@ -67,7 +67,7 @@ module Amazon2irc
67
67
 
68
68
  def spidering
69
69
  @opts['keywords'].each do |item|
70
- @conn.puts "PRIVMSG #{@opts['channel']} :Bot Spidered: #{item}"
70
+ @conn.puts "PRIVMSG #{@opts['channel']} :Bot Spidering: #{item}"
71
71
  AmazonMechanize.scan(item).each do |res|
72
72
  unless @items.include? res
73
73
  irc_logger2(res)
@@ -105,11 +105,11 @@ module Amazon2irc
105
105
  end
106
106
 
107
107
  def irc_logger item
108
- @conn.puts "PRIVMSG #{@opts['channel']} :#{item.title} - #{item.link}"
108
+ @conn.puts "PRIVMSG #{@opts['channel']} :#{item.title} - #{item.link}&tag=jaycorpinc-20&camp=1789&linkCode=xm2"
109
109
  end
110
110
 
111
111
  def irc_logger2 item
112
- @conn.puts "PRIVMSG #{@opts['channel']} :#{item}/ref=sr_1_2?s=prime-day&psr=PDAY&ie=UTF8&qid=1499752396&sr=1-2&keywords="
112
+ @conn.puts "PRIVMSG #{@opts['channel']} :#{item}/ref=sr_1_2?s=prime-day&psr=PDAY&ie=UTF8&qid=1499752396&sr=1-2&keywords=&tag=jaycorpinc-20&camp=1789&linkCode=xm2"
113
113
  end
114
114
  end
115
115
 
@@ -1,3 +1,3 @@
1
1
  module Amazon2irc
2
- VERSION = "7.11.2017.020024"
2
+ VERSION = "7.11.2017.020025"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: amazon2irc
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.11.2017.020024
4
+ version: 7.11.2017.020025
5
5
  platform: ruby
6
6
  authors:
7
7
  - jlee