Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stuck on first page and won't continue #40

Closed
geekteq opened this issue Mar 31, 2022 · 26 comments
Closed

Stuck on first page and won't continue #40

geekteq opened this issue Mar 31, 2022 · 26 comments

Comments

@geekteq
Copy link

geekteq commented Mar 31, 2022

my latest submission/search doesn't move passed the first page anymore..
It doesn't even hit the "boka tid" button.

Checking on other computer as well but I think they put something new into place.

@geekteq
Copy link
Author

geekteq commented Mar 31, 2022

Confirmed. Två datorer... fastnar nedan och går inte längre..
Skärmavbild MattiasiMac 2022-03-31 klockan 13 18 40

@thoal
Copy link

thoal commented Mar 31, 2022

Same here. Worked fine until a few hours ago.

Anyway, @jonkpirateboy, thank you for all your effort!

@geekteq
Copy link
Author

geekteq commented Mar 31, 2022

My Currently running one keeps running so I assume it's something to stop us from getting inside...

@shsh1801
Copy link

I have the same issue, won't let me pass the first page

@geekteq geekteq changed the title Not confirmed on other computer and will do... Stuck on first page and won't continue Mar 31, 2022
@FatlumIbishi
Copy link

Issue resolved in this commit

@geekteq geekteq closed this as completed Mar 31, 2022
@geekteq geekteq reopened this Mar 31, 2022
@geekteq
Copy link
Author

geekteq commented Mar 31, 2022

Ehm... it broke again?

@geekteq
Copy link
Author

geekteq commented Mar 31, 2022

I managed to start one instance but the next is now in the same version (even scrubbed everything and got a new git clone to be "sure")

@geekteq
Copy link
Author

geekteq commented Mar 31, 2022

Seems to work with this update - commit

@mryner228
Copy link

Same issue with that update, never hits the first button.

@geekteq
Copy link
Author

geekteq commented Mar 31, 2022

Same issue with that update, never hits the first button.

The one from 10 minutes ago works for me at least.. can't say if it will stop working after it's done its job but don't want to stop the one running right now ;)

@geekteq
Copy link
Author

geekteq commented Mar 31, 2022

The last commit works for me at least. Just submitted a friend and his 2 kids and it started working right away.

@mryner228
Copy link

Weird, for me it just repeats the names in terminal but nothing happens in Chrome...guess I'll do a clean swipe and see if that helps.

@tjoppstjopps
Copy link

Think it's the last div-tag that moved. This worked for me, I changed div[2]/input to div/input

    # Click the first button
    startButton = web.find_element(by=By.XPATH, value='//*[@id="Main"]/div[2]/div[1]/div/form/div/input')

@mryner228
Copy link

Yup, that was it. Cheers!

@geekteq
Copy link
Author

geekteq commented Mar 31, 2022

But the last commit from @jonkpirateboy took away the divs
startButton = web.find_element(by=By.XPATH, value='//*[@class="btn btn-primary btn-large disable-on-save"]')

@mryner228
Copy link

True, not sure why that wouldn't work for me. Rolling now so just hope that I will find a time.

@mryner228
Copy link

Issue seems to be back, script ran fine but for some reason I got a hiccup on 'first possible time' and now I'm back out...

@geekteq
Copy link
Author

geekteq commented Mar 31, 2022

Issue seems to be back, script ran fine but for some reason I got a hiccup on 'first possible time' and now I'm back out...

Wonder if I've been blocked somewhere - cause I can't reach it from home but my office-computer works..

@mryner228
Copy link

Strange. Would be a bit harsh to block you?!

Manually I can go through the steps but script loops (not hitting the button) so back to square one...

@geekteq
Copy link
Author

geekteq commented Mar 31, 2022

Other network issues, but yes, I'm also stuck outside again.

@geekteq
Copy link
Author

geekteq commented Mar 31, 2022

switched this
startButton = web.find_element(by=By.XPATH, value='//*[@class="btn btn-primary btn-large disable-on-save"]')
with
startButton = web.find_element(by=By.XPATH, value='//*[@class="btn btn-primary btn-large disable-on-save x"]')

and now mines rolling again

@haegg78
Copy link
Contributor

haegg78 commented Mar 31, 2022

Seems like Polisen also now have added captcha
Skärmavbild 2022-03-31 kl  16 56 08

This stops the script from getting passed the initial selection screen

@mryner228
Copy link

Yup, it seems like it was what they were working on...

@geekteq
Copy link
Author

geekteq commented Mar 31, 2022

Oh, that's bad. So basically you'd have to run it with "confirmation" as true - can we get python to issue an alarm when it matches something? @jonkpirateboy

@geekteq
Copy link
Author

geekteq commented Mar 31, 2022

Damn... fick den på "Bekräftelsen" först.. men den här gör ju att man måste köra den manuellt.
Går det att göra på nåt vis med selenium? (alltså inte skriva i men att man fyller i på vägen in?)

@geekteq
Copy link
Author

geekteq commented Mar 31, 2022

Closing this issue as we have bigger issues :)

@geekteq geekteq closed this as completed Mar 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants