Skip to content
This repository was archived by the owner on Dec 18, 2020. It is now read-only.

Automating submissions - #3

Open
VayCharr wants to merge 11 commits into
antigravities:masterfrom
VayCharr:master
Open

Automating submissions#3
VayCharr wants to merge 11 commits into
antigravities:masterfrom
VayCharr:master

Conversation

@VayCharr

@VayCharr VayCharr commented Jun 16, 2018

Copy link
Copy Markdown

Updated:
Adds an "automate" button. Scrapes on page load, then waits a fixed time of 3s after before going to the next page, or retrying on an error.
If there's no delay, and scrape() is called immediately, var key seems to be undefined. This is now fixed.
This also appends "&cc=us&l=english" to the URL and refreshes the page if the Store prices aren't displayed in USD. If the store is displayed in USD, it goes through the pages without refreshing every time.

VayCharr added 11 commits June 16, 2018 14:26
Automate button changes to stop button if it's on.
This should remove unnecessary refreshes if the store already uses USD as standard.
Now removes dialog boxes when retrying. Also added a button to stop retrying in said dialog box.
Stop button in dialog works now. Actually closes dialog boxes as well. (Last commit was a just a prank.)
Should work fine both on EU and US stores.
Actually uses the EventListener now. Scrapes immediately on page load without var issues. Removed wrong .done().
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant