Skip to content

Commit 44b22ee

Browse files
committed
v1.1.7
1 parent 2551138 commit 44b22ee

File tree

8 files changed

+190
-164
lines changed

8 files changed

+190
-164
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
### 1.1.7
4+
5+
- Moved from axios to impit
6+
37
### 1.1.6
48

59
- Proxy fixe

README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import { GOOGLE_IMG_SCRAP, GOOGLE_QUERY } from 'google-img-scrap';
2727
## Options definition
2828

2929
- "search" `string` what you want to search
30-
- "proxy" `AxiosProxyConfig` configure a proxy with axios proxy
30+
- "proxy" `string` configure a proxy url
3131
- "excludeWords" `string[]` exclude some words from the search
3232
- "domains" `string[]` filter by domains
3333
- "excludeDomains" `string[]` exclude some domains
@@ -116,11 +116,7 @@ See axios documentation to setup the proxy
116116
```js
117117
const test = await GOOGLE_IMG_SCRAP({
118118
search: 'cats',
119-
proxy: {
120-
protocol: 'https',
121-
host: 'example.com',
122-
port: 8080
123-
}
119+
proxy: 'http://user:pass@proxy:80'
124120
});
125121

126122
console.log(test);

0 commit comments

Comments
 (0)