all my request return state code 403 yet through the the mother-website it doesn't.
this is for a node.js based code piece.
modules i used: fs, request
const request = require('request')
const fs = require('fs')
let file = fs.createWriteStream('./try.jpg')
request('https://ba.hitomi.la/galleries/1402385/33_31.jpg', { encoding: null, headers: { 'Access-Control-Allow-Origin': '*', 'Access-Control-Allow-Headers': 'origin, x-requested-with, content-type, accept' } }, (error, response, body) => {
}).pipe(file)
i need an full code that can download / fetching data through the website.