mirror of
https://github.com/daniel-j/fimfic2epub.git
synced 2024-06-02 18:44:36 +12:00
poor man's mature cookie
This commit is contained in:
parent
119acf3076
commit
371c22f3b4
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue