Skip to content

Commit

Permalink
Merge pull request #5 from jpchip/fix-starting-link
Browse files Browse the repository at this point in the history
fix so process starts on first page instead of 50
  • Loading branch information
jpchip authored Dec 4, 2018
2 parents 69a86c6 + 30e5f41 commit bc63597
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 0.1.1 - 2018-12-04
### Fixed
- Start on First Page

## 0.1.0 - 2018-12-04
### Added
- add page iteration
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ async function signIn(page, username, password) {
await signIn(page, username, password);

//go to giveaways
await page.goto('https://www.amazon.com/ga/giveaways?pageId=50');
await page.goto('https://www.amazon.com/ga/giveaways');

//enter giveaways
await enterGiveaways(page, 1);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "giveaway-grabber",
"version": "0.1.0",
"version": "0.1.1",
"description": "Automates entries for Amazon Giveaways",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit bc63597

Please sign in to comment.