proxy_rotator 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +3 -1
- data/lib/proxy_rotator/rotator.rb +1 -1
- data/lib/proxy_rotator/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c68a50b88de448215236373db36d712d488503e6
|
4
|
+
data.tar.gz: '0775295c43ab495f8fb3428dca36bc049be24050'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4976bbbf73c8326b376bcb1ba7c8b9f37b9fabab5fd4d1d119727089df2e0a015e512453720f359b63890317e722957cd18a7abb9a6c7695810653f5a4a69140
|
7
|
+
data.tar.gz: 204617b3ebb8a20510fc929bd03a7f65f69201c99777c065f34cc3c988aaab791d958bb389e9f6dbc41f5e502db87e06bce5f439e9231227f3a5477bc70e2d73
|
data/.gitignore
CHANGED
@@ -49,7 +49,7 @@ module ProxyRotator
|
|
49
49
|
end
|
50
50
|
|
51
51
|
def self.rotate_remote
|
52
|
-
url = ProxyRotator.configuration.base_url + "?
|
52
|
+
url = ProxyRotator.configuration.base_url + "?apiKey=" + ProxyRotator.configuration.api_key
|
53
53
|
response = RestClient.get(url)
|
54
54
|
json = JSON.parse(response.body)
|
55
55
|
proxy = json["proxy"]
|