Code Monkey home page Code Monkey logo

currys-pc-order-bot's Introduction

Discovering new things everyday.

Yomi's GitHub stats

currys-pc-order-bot's People

Contributors

abayomi185 avatar oliverord avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

oliverord

currys-pc-order-bot's Issues

Feature Idea: Test Mode

Hi,

I think a great future could be a "Test Mode" as a parameter in the config.

When "Test Mode" is enabled, the bot tries to checkout as normal until it gets to the final payment screen. If the bot is able to click the final payment button successfully it reports that a test has been completed successfully but it doesn't actually press the button and spend any money.

This would be great to make sure it works without having to buy things and cancel them afterward.

Potential Issue with Headless

I have just tested the latest release. All seems to be working perfectly when running non-headless.

while running headless I appear to be getting a fair few type errors, although the alerts are working.

image

checkout errors

finds the item, adds to basket, enters delivery postcode but then errors as need to click the "deliver for free" button.
It does not get to sign in details. I can see this happening on screen.
Capture
Capture2

Getting these errors/lines under each product

Hi, hopefully last question.

I have changed the script to include the “free” button and that now seems to work.

however, on every product that is out of stock I am getting these lines (see attached) any clue as to how to solve this please or is it expected?
image

it doesn’t happen for all items but most.

Logging

Been running about 15 threads for a few days now, and definitely had drops in that time

These are usually overnight so I can't tell what has happened as the console has moved on by then

Any chance of logging buying attempts, or when something is found to be in stock?

3D Secure

Hey all,

Not really an issue with this app, but any ideas on how to get around 3D Secure.
I missed an item because I was asleep and didn't approve the payment through my banks app.
Perhaps PayPal gets around this, or is there a perferred bank that doesn't require auth?

Thanks :)

Checkout problems

Hey. Thanks for fixing the free button issue.
However, I have had to stop using the bot due to a checkout problem around 3D secure.

I wonder if you’re able to change the payment method to PayPal at all please?

Issue: check if signed in at the start of bot instance

I have discovered a bug where the bot will be stuck in a loop and unable to checkout if it already has a failed a previous attempt to checkout. The bot logs into your currys account in the previous attempt and is still logged in at the start of the next one. So when the bot reaches the stage where it must sign in, there is no element to find because the bot is already signed into currys.

This could be fixed by making sure the instance is not signed in with a currys account at the start of each bot instance (before trying to add an item to basket). If the user is signed into an account then log them out before trying to add to basket

I would implement it myself except I'm still inexperienced with XPath.

I have nearly finished the Test Mode and will make a PR later tonight.

Basket fails

Trying this on a PSU as a test. It has the bundle option to set that to "True", although I've also tried "False". It gets to the point of the basket then just goes back to the product?

Anything I should try? Using Python 3.8 on Windows 10

Bot doesn't remove duplicate items in basket

Hi,

I was just testing the latest release (0.0.4) and I noticed that the bot doesn't remove items from the basket if the quantity is greater than 1. This bug happens when "Collection in Store" is available but "Delivery" is not available

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.