scrapers 1.5.3 → 1.5.4

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: 4603ed2dc7d6b2562ccc650f4a22683835f73f5b
4
- data.tar.gz: bd6144930bd01d33d910d32386911f9fc574042c
3
+ metadata.gz: 47586955a9afa8ba3ad9889d94f08cbf0a7626dc
4
+ data.tar.gz: 816482c5ab499efb61e9992e4245f2599f111e15
5
5
  SHA512:
6
- metadata.gz: 764c70be3712853ccc1b4252f672a1a6fdb1891f92cc27666434490c164411d5f52060539d0071e8cad8560593f02d980dbd4cad8176f48541d76da245a3ca84
7
- data.tar.gz: 40560788e48df3df0a0b1686d8696d70ab95ec243a46b043afd9db5fee2ed564dfd6567a9a612b036d6664dc44546e35e620f9e593c3766bbea60900ff8855ca
6
+ metadata.gz: 65c832f72bae485a6725e162501cc193bea0f23296a2530b60be24d9c2882da58b4345ec6b4eccba33911375b58af47ae639024a9493b4bba286411c67776851
7
+ data.tar.gz: dd47db0c37d508eebd3b171312e79a82d96b98acf37f44c3edb19905adf097652f2f952b11438a6f1a91b16f667d259a55bd976b9f5ff47b134201f6f25f0da8
@@ -37,7 +37,7 @@ module Scrapers
37
37
 
38
38
  m.current_page.tap do |page|
39
39
  tapas.title = page.title.strip
40
- tapas.episode_dir = File.join(dest,tapas.title.split("|").first.strip.downcase.gsub(%r{\s+},'-'))
40
+ tapas.episode_dir = File.join(dest,tapas.title.split("|").first.strip.downcase.gsub(%r{[^[:alnum:][:space:]]},' ').gsub(%r{[[:space:]]+},'-'))
41
41
  tapas.attachments = page.links_with(:href => %r{\bdownload\b})
42
42
  puts "Fetching and saving #{tapas.title} into #{tapas.episode_dir}"
43
43
  FileUtils.mkdir(tapas.episode_dir)
@@ -3,7 +3,7 @@ module Scrapers
3
3
 
4
4
  MAJOR = 1
5
5
  MINOR = 5
6
- BUILD = 3
6
+ BUILD = 4
7
7
 
8
8
  end
9
9
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scrapers
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.3
4
+ version: 1.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tamara Temple