poor man's mature cookie

This commit is contained in:
daniel-j 2016-06-28 20:26:04 +02:00
parent 119acf3076
commit 371c22f3b4

View file

@ -6,7 +6,8 @@ function fetchNode (url, cb, responseType) {
url: url,
encoding: responseType ? null : 'utf8',
headers: {
referer: 'http://www.fimfiction.net/'
referer: 'http://www.fimfiction.net/',
cookie: 'view_mature=true'
}
}, (error, response, body) => {
if (error) {