Merge pull request #3889 from iptv-org/Dum4G-patch-2

Update clean.js to react on Error 451
This commit is contained in:
Dum4G 2021-08-04 04:41:14 +03:00 committed by GitHub
commit 0d3d6b48fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@ program
.parse(process.argv)
const config = program.opts()
const offlineStatusCodes = [404, 410, 500, 501]
const offlineStatusCodes = [404, 410, 451, 500, 501]
const ignore = ['Geo-blocked', 'Not 24/7']
const instance = axios.create({
timeout: config.timeout,