Welcome to IRCTC CYPRESS AUTOMATION Discussions! #1
Replies: 34 comments 31 replies
-
bro the problem is not filling, the problem it take lot of time to proceed to next page, will your project fetech faster ? or do you have any idea ? |
Beta Was this translation helpful? Give feedback.
-
Nice to hear from you, I think there is way to put lot of traffic in a
website and access which one comes faster, this is how lot of illigal
software works , did you heard about that ??
…On Thu, 26 Oct 2023, 07:38 Shivam Pandey :-), ***@***.***> wrote:
We cannot by pass server behaviour thats how IRCTC is...
This was designed to keep this in mind that IRCTC is like that only what
we can do is automate the whole process and if server throws us out we can
start again in seconds and still book the tickets.
Did you had a look at the Video which is linked in readme of this project?
If server behaves properly then its hardly 35sec to book 6 passengers
tickets at one shot
But if not we can restart the script without worrying further
—
Reply to this email directly, view it on GitHub
<#1 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AX5GUE4F7LDW67WEHHI66CLYBHA2LAVCNFSM6AAAAAA4UPV3ECVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TGOBXGI3TO>
.
You are receiving this because you commented.Message ID:
<shivamguys/irctc-cypress-automation/repo-discussions/1/comments/7387277@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
I dont think IRCTC would maintain that many sessions for 1 account.
On Thu, 26 Oct, 2023, 9:45 am Apurv Krishn Jha, ***@***.***>
wrote:
… Nice to hear from you, I think there is way to put lot of traffic in a
website and access which one comes faster, this is how lot of illigal
software works , did you heard about that ??
On Thu, 26 Oct 2023, 07:38 Shivam Pandey :-), ***@***.***>
wrote:
> We cannot by pass server behaviour thats how IRCTC is...
> This was designed to keep this in mind that IRCTC is like that only what
> we can do is automate the whole process and if server throws us out we
can
> start again in seconds and still book the tickets.
> Did you had a look at the Video which is linked in readme of this
project?
> If server behaves properly then its hardly 35sec to book 6 passengers
> tickets at one shot
> But if not we can restart the script without worrying further
>
> —
> Reply to this email directly, view it on GitHub
> <
#1 (reply in thread)>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/AX5GUE4F7LDW67WEHHI66CLYBHA2LAVCNFSM6AAAAAA4UPV3ECVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TGOBXGI3TO>
> .
> You are receiving this because you commented.Message ID:
> <shivamguys/irctc-cypress-automation/repo-discussions/1/comments/7387277@
> github.com>
>
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGAX65LIKIBXMM4GGIDOXYTYBHPVVAVCNFSM6AAAAAA4UPV3ECVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TGOBXHE4DA>
.
You are receiving this because you authored the thread.Message ID:
<shivamguys/irctc-cypress-automation/repo-discussions/1/comments/7387980@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
bro just go to billing dashboard of your cloud and enable that for cloud
vision apis
…On Thu, Oct 26, 2023 at 10:40 AM Apurv Krishn Jha ***@***.***> wrote:
alright, thanks.
can you help me with GOOGLE_APPLICATION_CREDENTIALS its not working
putting this value in captcha input 403 Cloud Vision API has not been used
in project 902339083841 before or it is disabled. Enable it by visiting
https://console.developers.google.com
—
Reply to this email directly, view it on GitHub
<#1 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGAX65L2R3CFBBNW7QYIML3YBHWFBAVCNFSM6AAAAAA4UPV3ECVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TGOBYGMYTA>
.
You are receiving this because you authored the thread.Message ID:
<shivamguys/irctc-cypress-automation/repo-discussions/1/comments/7388310@
github.com>
--
*Thanks*
*Shivam Pandey*
|
Beta Was this translation helpful? Give feedback.
-
Yaa , but the reload thing getting my nerves 😞, it take time equivalent to
a normal user , there is no advantage
…On Mon, 30 Oct 2023, 11:59 Shivam Pandey :-), ***@***.***> wrote:
did it got through???
—
Reply to this email directly, view it on GitHub
<#1 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AX5GUE77HM54RQADJDAMME3YB5CMXAVCNFSM6AAAAAA4UPV3ECVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TIMRQGIYDE>
.
You are receiving this because you commented.Message ID:
<shivamguys/irctc-cypress-automation/repo-discussions/1/comments/7420202@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
didn't got that reload thing???
On Mon, Oct 30, 2023 at 1:20 PM Apurv Krishn Jha ***@***.***>
wrote:
… Yaa , but the reload thing getting my nerves 😞, it take time equivalent
to
a normal user , there is no advantage
On Mon, 30 Oct 2023, 11:59 Shivam Pandey :-), ***@***.***>
wrote:
> did it got through???
>
> —
> Reply to this email directly, view it on GitHub
> <
#1 (reply in thread)>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/AX5GUE77HM54RQADJDAMME3YB5CMXAVCNFSM6AAAAAA4UPV3ECVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TIMRQGIYDE>
> .
> You are receiving this because you commented.Message ID:
> <shivamguys/irctc-cypress-automation/repo-discussions/1/comments/7420202@
> github.com>
>
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGAX65NPZMZUDWO6MWFHG63YB5L3VAVCNFSM6AAAAAA4UPV3ECVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TIMRQG43DG>
.
You are receiving this because you authored the thread.Message ID:
<shivamguys/irctc-cypress-automation/repo-discussions/1/comments/7420763@
github.com>
--
*Thanks*
*Shivam Pandey*
|
Beta Was this translation helpful? Give feedback.
-
I tried one SL booking today you know the rush in SL booking I got it through the payments in SL also. This was tested for heavy trains rush MUMBAI to DELHI having less 3AC tickets in them.... |
Beta Was this translation helpful? Give feedback.
-
Hello @shivamguys and @drtechie I am not much familiar with coding and stuff. Can you provide instructions how to use and run this whole thing in most basic way possible? It would be much helpful. |
Beta Was this translation helpful? Give feedback.
-
thanks for checking this out @sevilpatel ohkkk In that case I guess you need to have a Linux operating system only then i can guide you with some detailed video instructions. |
Beta Was this translation helpful? Give feedback.
-
Can I not run this on windows?Sent from my Galaxy
-------- Original message --------From: "Shivam Pandey :-)" ***@***.***> Date: 10/11/2023 1:05 pm (GMT+05:30) To: shivamguys/irctc-cypress-automation ***@***.***> Cc: sevilpatel ***@***.***>, Mention ***@***.***> Subject: Re: [shivamguys/irctc-cypress-automation] Welcome to IRCTC CYPRESS AUTOMATION Discussions! (Discussion #1)
thanks for checking this out @sevilpatel ohkkk In that case I guess you need to have a Linux operating system only then i can guide you with some detailed video instructions.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
you need more configurations to run all python scripts and cypress installation and i have never done that on windows to be frank, I stopped using windows from past 10 years and i am not aware of that what and how things needs to be configured in that, In that case you can have virtualbox to run linux just try searching for virtualbox and see how to install linux into that... |
Beta Was this translation helpful? Give feedback.
-
Okay so I'll try that step first Sent from my Galaxy
-------- Original message --------From: "Shivam Pandey :-)" ***@***.***> Date: 10/11/2023 1:13 pm (GMT+05:30) To: shivamguys/irctc-cypress-automation ***@***.***> Cc: sevilpatel ***@***.***>, Mention ***@***.***> Subject: Re: [shivamguys/irctc-cypress-automation] Welcome to IRCTC CYPRESS AUTOMATION Discussions! (Discussion #1)
you need more configurations to run all python scripts and cypress installation and i have never done that on windows to be frank, I stopped using windows from past 10 years and i am not aware of that what and how things needs to be configured in that, In that case you can have virtualbox to run linux just try searching for virtualbox and see how to install linux into that...
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hey, so I installed VirtualBox and Ubuntu inside VirtualBox. So we can work
with this?
…On Fri, 10 Nov 2023, 1:13 pm Shivam Pandey :-), ***@***.***> wrote:
you need more configurations to run all python scripts and cypress
installation and i have never done that on windows to be frank, I stopped
using windows from past 10 years and i am not aware of that what and how
things needs to be configured in that, In that case you can have virtualbox
to run linux just try searching for virtualbox and see how to install linux
into that...
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BD3USTKDLL3SMYBBS72MLSTYDXLKPAVCNFSM6AAAAAA4UPV3ECVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TKMZQGY2DG>
.
You are receiving this because you were mentioned.Message ID:
<shivamguys/irctc-cypress-automation/repo-discussions/1/comments/7530643@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
@shivamguys first of all thanks for this wonderful tool. I did managed to get it running. I wanted to ask you exactly at what time you run the script. at 10AM or 30 or 40 sec before. because as it starts running once it cant be paused. i think we have to run it at perfect time so at exactly 10 or 11AM it reaches the book now button. you did have booked sleeper tatkal earlier. just clear out this for me. |
Beta Was this translation helpful? Give feedback.
-
It will book tickets even if you login 1 minute before, and you can see the
discussion board for confirmed tickets booking screenshots and yes i booked
3Ac tickets twice with this
Thanks man for appreciating means a lot thanks again...
I will advice you just start the script 50sec before....
…On Sun, 19 Nov, 2023, 10:46 pm DeamonDan, ***@***.***> wrote:
@shivamguys <https://github.com/shivamguys> first of all thanks for this
wonderful tool. I did managed to get it running. I wanted to ask you
exactly at what time you run the script. at 10AM or 30 or 40 sec before.
because as it starts running once it cant be paused. i think we have to run
it at perfect time so at exactly 10 or 11AM it reaches the book now button.
you did have booked sleeper tatkal earlier. just clear out this for me.
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGAX65IX2D6YDFIYBEGGEDDYFI5ITAVCNFSM6AAAAAA4UPV3ECVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TMMJSGI2TM>
.
You are receiving this because you were mentioned.Message ID:
<shivamguys/irctc-cypress-automation/repo-discussions/1/comments/7612256@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
DId you verify all the security measures associated with this, asking since this a gov owned public site? Also, is it allowed to do booking in this manner>? |
Beta Was this translation helpful? Give feedback.
-
import easyocr what to do |
Beta Was this translation helpful? Give feedback.
-
*pip install python-bidi*
…On Tue, Jul 23, 2024 at 9:15 PM priyanshu209006 ***@***.***> wrote:
import easyocr
File
"/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/easyocr/
*init*.py", line 1, in
from .easyocr import Reader
File
"/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/easyocr/easyocr.py",
line 9, in
from bidi.algorithm import get_display
ModuleNotFoundError: No module named 'bidi.algorithm'
Error: Process completed with exit code 1.
what to do
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGAX65P2TRF5NDICF3RLZCDZNZ3DLAVCNFSM6AAAAABLKWWPPWVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMJSHA2DEMQ>
.
You are receiving this because you were mentioned.Message ID:
<shivamguys/irctc-cypress-automation/repo-discussions/1/comments/10128422@
github.com>
--
*Thanks*
*Shivam Pandey*
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
its showing Reason: Unsupported hardware. for you might be package issues
with hardware
…On Wed, Jul 24, 2024 at 9:14 PM rajkmm ***@***.***> wrote:
Bro I am getting below error on m vm
What should I do?
image.png (view on web)
<https://github.com/user-attachments/assets/b2f627a5-e99c-46f6-b41f-8bdcbf224824>
CypressError: cy.exec('python3 irctc-captcha-solver/app.py
"data:image/jpg;base64,iVBORw0KGgoAAAANSUhEUgAAAMsAAAAyCAYAAADyZi/iAAAFc0lEQVR42u2dX2RkVxzHx4iIFUOsEXnoy6p9qDwsUbVixL6sFVERau1D9WFZeaiq6MuKWlFlVVWsCn1aeYi8rLWiVli1KtYqsapqrbAiovahRKwYYwzT3+F7u7e/npk599w/M3fu98tPmDn3N/ec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1mGEZsawpliIcv6iOPbG9wMCSG7bs4PtmXnLD+gkLQrcvleuVNM8BN8BT5ephadgllbxt6fCzDsfNWkC73aGsLeu41uOuVS8aLHgwbiaCv0kT+bJcv0oa7YRn8H+0XJaXUQI3eYbFhGf3bMmBeMtIJVT2HD67bym/1+2NJN2eZwmVmcZnrVCCYJFg+fd5F+R8LQCIcqhMFZ/f6/AYw0ISoxv6RRVBli8Bsu3tLvudHk0YVmAmOgDjqr1edxY0/KsIPg8tT0q2CgKLj8xIfD3qOcRQAwGYkVLRhDvJKp4Td9VbNFjZ8TcMMDuOz+BXLRe3TlisSZTbriHbBCA5wqjHdyxjg+sGHpXdx1DfggVvKtlCmTHP35iDj6OQ72Nc9Gtq2hfWmyGHZRLPvXyDtnjWfveWmOBufobrsoW14FSc+nV5T8AZ3oMQvOvYBFymS9TAgrtQuIgLRXnCsqFgucNWoaj/g3LRkkpxiS1DFQWARy4LUbwL60iB8owtSBUJlkA7SLW50H73rxTGENO/p9P6McJwcUkVEpaoodFP2HoUYeku878/PmTLUUWExeQWfYZ0mcfIY6pj2tXAnoLJdVpP4o2NFEVRFEVRFEVRFEVR1BDqHwijzU4FRDh1AAAAAElFTkSuQmCC"')
failed because the command exited with a non-zero code.
Pass {failOnNonZeroExit: false} to ignore exit code failures.
Information about the failure:
Code: null
Stderr:
Neither CUDA nor MPS are available - defaulting to CPU. Note: This module
is much faster with a GPU.
[W NNPACK.cpp:61] Could not initialize NNPACK! Reason: Unsupported
hardware.
https://on.cypress.io/exec
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGAX65PGXXAERZS37HG2MK3ZN7DXFAVCNFSM6AAAAABLKWWPPWVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMJTHE3DSNY>
.
You are receiving this because you were mentioned.Message ID:
<shivamguys/irctc-cypress-automation/repo-discussions/1/comments/10139697@
github.com>
--
*Thanks*
*Shivam Pandey*
|
Beta Was this translation helpful? Give feedback.
-
@shivamguys and @everyone I found the way to run this on window, but we just have to enter the captcha hope this help here is the link To run this on Window system, you need Node.js And Python in your system. Due to low dependency in Python Environment, have to enter the catch manually while login and booking and other stuff works fine. -You have to install Python and Node.js from their official website or from Microsoft store.(Latest version) Edit the passenger and other details from the passenger_data.json below is the file location and save it.
To enter CAPTCHA manually, then change MANUAL_CAPTCHA to true in cypress.env.json { Now locate to requirements.txt file from cmd image python app.py "" Now back from the directory by cd .. Last Step That's It........... |
Beta Was this translation helpful? Give feedback.
-
Do Leave a feedback after booking successfully a tatkal ticket Quoting to everyone |
Beta Was this translation helpful? Give feedback.
-
Bhai I am a Commerce student i just read this thread can you guys please help |
Beta Was this translation helpful? Give feedback.
-
after using this command facing error :-pip install -r irctc-captcha-solver/requirements.txt |
Beta Was this translation helpful? Give feedback.
-
python3: can't open file '/home/runner/work/irctc-cypress-automation/irctc-cypress-automation/irctc-captcha-solver/app.py': [Errno 2] No such file or directory |
Beta Was this translation helpful? Give feedback.
-
@rajkmm and @shivamguys No Base 64-string Provided is not printing instead of that I am getting this error please help me out |
Beta Was this translation helpful? Give feedback.
-
bhai i am new to this github culture and as far i know you use linux i use windows can you provide me a road map to make it work in my system |
Beta Was this translation helpful? Give feedback.
-
hi @shivamguys, @rajkmm I have few questions, please help me out in this. I tested today but it wasn't during tatkal time it was way after just to be assured if it's working correctly, and it did but all tickets were waiting, I mean sure yeah I was way passed the time limit but I was just testing and it was mentioned that it only gonna book for confirm tickets but it tried booking waiting ticket. please let me know if it checks the option "book only if confirm ticket" but maybe because this option wasn't available when all tickets were already waiting. Also, I read the above discussion that I need to perform the test 50 seconds before? When I used to book tatkal ticket I always login 3-4 minutes before because it doesn't let me login after that. And one more thing, it doesn't wait for the tatkal time, as I am understanding it just keeps running so I need to run it just before like 50 seconds before? ** can I run it like before 3 minutes and it'll wait for the tatkal tickets to be available and then start booking or it doesn't work like this ** |
Beta Was this translation helpful? Give feedback.
-
👋 Welcome!
We’re using Discussions as a place to connect with other members of our community. We hope that you:
build together 💪.
To get started, comment below with an introduction of yourself and tell us about what you do with this community.
Beta Was this translation helpful? Give feedback.
All reactions