Clear cache before parsing each playlist

This commit is contained in:
freearhey 2019-08-08 02:43:43 +03:00
parent 92d8bd9899
commit 54b30b8af5
2 changed files with 7 additions and 2 deletions

View file

@ -24,6 +24,8 @@ function main() {
}
for(let country of countries) {
console.log(`Clear cache...`)
util.clearCache()
console.log(`Parsing '${country.url}'...`)
const playlist = util.parsePlaylist(country.url)