node-csfd-api
Advanced tools
Comparing version 1.3.0-beta.1 to 1.3.0-beta.2
{ | ||
"name": "node-csfd-api", | ||
"version": "1.3.0-beta.1", | ||
"version": "1.3.0-beta.2", | ||
"description": "Simple NPM library for scraping CSFD", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
@@ -22,3 +22,3 @@ "use strict"; | ||
console.log('Fetching all pages', pages); | ||
for (let i = 1; i <= pages; i++) { | ||
for (let i = 2; i <= pages; i++) { | ||
console.log('Fetching page', i, 'out of', pages, '...'); | ||
@@ -28,3 +28,3 @@ const response = await fetchers_1.fetchUserRatings(user, i); | ||
const movies = items.querySelectorAll('.box-user-rating .table-container tbody tr'); | ||
allMovies = [...allMovies, ...this.getPage(config, movies)]; | ||
allMovies = [...this.getPage(config, movies)]; | ||
// Sleep | ||
@@ -31,0 +31,0 @@ if (config.allPagesDelay) { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
32974