scrapers 0.4.3 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/scrapers/download.rb +5 -3
- data/lib/scrapers/nasa_apod.rb +20 -22
- data/lib/scrapers/sinfest.rb +24 -0
- data/lib/scrapers/version.rb +10 -1
- data/spec/scrapers/download_spec.rb +45 -8
- data/spec/scrapers/sinfest_spec.rb +46 -0
- data/spec/spec_helper.rb +1 -1
- data/vcr_cassettes/allrecipes_morning-glory-muffins-i.yml +879 -851
- data/vcr_cassettes/disconews_history-of-space.yml +347 -340
- data/vcr_cassettes/download-newfile.yml +631 -0
- data/vcr_cassettes/download-overwrite.yml +631 -0
- data/vcr_cassettes/download_cassette.yml +7 -7
- data/vcr_cassettes/gocomics_nonsequitur.yml +907 -765
- data/vcr_cassettes/sinfest.yml +393 -0
- data/vcr_cassettes/xkcd.yml +8 -8
- metadata +8 -2
@@ -31,7 +31,7 @@ http_interactions:
|
|
31
31
|
Server:
|
32
32
|
- cloudflare-nginx
|
33
33
|
Date:
|
34
|
-
- Mon, 14 Oct 2013
|
34
|
+
- Mon, 14 Oct 2013 08:28:22 GMT
|
35
35
|
Content-Type:
|
36
36
|
- image/jpeg
|
37
37
|
Content-Length:
|
@@ -39,7 +39,7 @@ http_interactions:
|
|
39
39
|
Connection:
|
40
40
|
- keep-alive
|
41
41
|
Set-Cookie:
|
42
|
-
- __cfduid=
|
42
|
+
- __cfduid=dd8f7d8e0a4bd40103ee13f140f093bf51381739302835; expires=Mon, 23-Dec-2019
|
43
43
|
23:50:00 GMT; path=/; domain=.imgur.com; HttpOnly
|
44
44
|
Cache-Control:
|
45
45
|
- public, max-age=14400
|
@@ -50,13 +50,13 @@ http_interactions:
|
|
50
50
|
Content-Transfer-Encoding:
|
51
51
|
- binary
|
52
52
|
Cf-Cache-Status:
|
53
|
-
-
|
53
|
+
- EXPIRED
|
54
54
|
Vary:
|
55
55
|
- Accept-Encoding
|
56
56
|
Expires:
|
57
|
-
- Mon, 14 Oct 2013
|
57
|
+
- Mon, 14 Oct 2013 12:28:22 GMT
|
58
58
|
Cf-Ray:
|
59
|
-
-
|
59
|
+
- bd2e552be620424
|
60
60
|
body:
|
61
61
|
encoding: ASCII-8BIT
|
62
62
|
string: !binary |-
|
@@ -427,5 +427,5 @@ http_interactions:
|
|
427
427
|
HWWxGuyWe4ndRRW5qVlJ1DdehotRRNMVcEqdiVFFUVRW7piEKKKon6PNArjs
|
428
428
|
vC0adXdRRO9HHjfxn5KKKLNT/9k=
|
429
429
|
http_version:
|
430
|
-
recorded_at: Mon, 14 Oct 2013
|
431
|
-
recorded_with: VCR 2.
|
430
|
+
recorded_at: Mon, 14 Oct 2013 08:28:22 GMT
|
431
|
+
recorded_with: VCR 2.6.0
|