mirror of
https://github.com/knightcrawler-stremio/knightcrawler.git
synced 2024-12-20 03:29:51 +00:00
add insecureHTTPParser flag for axios
This commit is contained in:
@@ -4,6 +4,7 @@ const { getRandomUserAgent } = require('../lib/requestHelper');
|
|||||||
const { getTorrent } = require('../lib/repository');
|
const { getTorrent } = require('../lib/repository');
|
||||||
const { Type } = require('../lib/types');
|
const { Type } = require('../lib/types');
|
||||||
|
|
||||||
|
axios.defaults.insecureHTTPParser = true;
|
||||||
const TRACKERS_URL = 'https://raw.githubusercontent.com/ngosang/trackerslist/master/trackers_best.txt';
|
const TRACKERS_URL = 'https://raw.githubusercontent.com/ngosang/trackerslist/master/trackers_best.txt';
|
||||||
const ANIME_TRACKERS = [
|
const ANIME_TRACKERS = [
|
||||||
"http://nyaa.tracker.wf:7777/announce",
|
"http://nyaa.tracker.wf:7777/announce",
|
||||||
|
|||||||
Reference in New Issue
Block a user