@democracy-deutschland/dip21-scraper
Advanced tools
Comparing version 0.1.5-1 to 0.1.5-2
@@ -346,9 +346,13 @@ 'use strict'; | ||
if (i !== 1) { | ||
const searchFormData = yield browser.browser.getBeratungsablaeufeSearchFormData({ | ||
body: searchResultBodyToAnalyse | ||
}); | ||
let { | ||
formData: newFormData | ||
} = searchFormData; | ||
const { | ||
formMethod: newFormMethod, | ||
formAction: newFormAction, | ||
formData: newFormData | ||
} = yield browser.browser.getBeratungsablaeufeSearchFormData({ | ||
body: searchResultBodyToAnalyse | ||
}); | ||
formAction: newFormAction | ||
} = searchFormData; | ||
newFormData = _extends({}, formData, newFormData); | ||
newFormData.method = '>'; // Next page can only be reached through this | ||
@@ -355,0 +359,0 @@ newFormData.offset = (i - 1) * _this.options.resultsPerPage; |
{ | ||
"name": "@democracy-deutschland/dip21-scraper", | ||
"version": "0.1.5-1", | ||
"version": "0.1.5-2", | ||
"description": "scraper for the german \"Bundestag\"", | ||
@@ -5,0 +5,0 @@ "main": "distribution/scraper.js", |
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
276530
978