fix: ensure leboncoin `accept` header (#4257)

This commit is contained in:
hoilc 2020-03-17 12:08:50 +08:00 committed by GitHub
parent f4b2917056
commit a97c6b6667
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -108,6 +108,7 @@ module.exports = async (ctx) => {
headers: {
api_key: API_KEY,
origin: 'https://www.leboncoin.fr',
Accept: '*/*',
},
method: 'post',
url: SEARCH_ENDPOINT,