Clear cache before parsing each playlist

This commit is contained in:
freearhey
2019-08-08 02:43:43 +03:00
parent 9f7c009081
commit ec948e06f9
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)