mirror of
https://github.com/misskey-dev/summaly.git
synced 2025-05-12 00:57:32 +09:00
Update amazon.ts
This commit is contained in:
parent
871a6f151c
commit
f85135af4b
@ -1,7 +1,11 @@
|
|||||||
|
import { name, version } from '../../package.json';
|
||||||
import * as URL from 'url';
|
import * as URL from 'url';
|
||||||
import * as client from 'cheerio-httpcli';
|
import * as client from 'cheerio-httpcli';
|
||||||
import summary from '../summary';
|
import summary from '../summary';
|
||||||
|
|
||||||
|
client.set('headers', {
|
||||||
|
'User-Agent': `${name}/${version}`
|
||||||
|
});
|
||||||
client.set('referer', false);
|
client.set('referer', false);
|
||||||
client.set('timeout', 10000);
|
client.set('timeout', 10000);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user