Update amazon.ts

This commit is contained in:
Acid Chicken (硫酸鶏) 2018-08-17 01:27:38 +09:00 committed by GitHub
parent 871a6f151c
commit f85135af4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,11 @@
import { name, version } from '../../package.json';
import * as URL from 'url';
import * as client from 'cheerio-httpcli';
import summary from '../summary';
client.set('headers', {
'User-Agent': `${name}/${version}`
});
client.set('referer', false);
client.set('timeout', 10000);