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
Open
Conversation
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().
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.