-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.js
More file actions
25 lines (21 loc) · 744 Bytes
/
Copy pathbuild.js
File metadata and controls
25 lines (21 loc) · 744 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
const { readFileSync, writeFileSync } = require('fs')
const typoList = readFileSync("./raw/typo.txt").toString().split("\n")
let typoListText = `! Title: Pirate Bay proxies
! Last modified: ${new Date().toDateString()}
| Expires: 30 days
! Count: ${typoList.length}
!`
typoList.forEach(row => {
typoListText += `${row}\n`
})
writeFileSync("./adguard/typo.txt", typoListText)
const PBList = readFileSync("./raw/pirate-bay.txt").toString().split("\n")
let PBListText = `! Title: Typo, scam and phishing domains
! Last modified: ${new Date().toDateString()}
| Expires: 30 days
! Count: ${PBList.length}
!`
PBList.forEach(row => {
PBListText += `${row}\n`
})
writeFileSync("./adguard/pirate-bay.txt", PBListText)