dpak-maurya / irctc-tatkal-ticket-booking

4 stars 2 forks source link

after refreshing script stops when tatkal time starts #8

Open sudhanshu947 opened 1 month ago

sudhanshu947 commented 1 month ago
  1. when i logging before tatkal time it loads for few times and stops and it doesn't work to bypass we can do that script will wait till 10:00 & 11:00 then it can click availability button

  2. we can add option if only confirm birth allotted

dpak-maurya commented 1 month ago

@sudhanshu947 thanks for pointing that issue.

  1. When the script runs, it attempts to click the "Book Now" button as soon as it is not disabled. The script checks the availability of the button every 5 seconds (refresh interval) by realoading the selected class(i.e. SL, 3A). When the "Book Now" button first becomes available, the script clicks it. However, it is unable to proceed due to an IRCTC error message, such as "Operation not allowed" (possibly due to clicking too early). As a result, the script halts on that page, requiring manual intervention to proceed. I will consider your suggestions and, if they work, will update the script accordingly.
  2. i will not be able add this feature because this option if only confirm birth allotted have been removed from irctc passenger page
sudhanshu947 commented 1 month ago

@sudhanshu947 thanks for pointing that issue.

  1. When the script runs, it attempts to click the "Book Now" button as soon as it is not disabled. The script checks the availability of the button every 5 seconds (refresh interval) by realoading the selected class(i.e. SL, 3A). When the "Book Now" button first becomes available, the script clicks it. However, it is unable to proceed due to an IRCTC error message, such as "Operation not allowed" (possibly due to clicking too early). As a result, the script halts on that page, requiring manual intervention to proceed. I will consider your suggestions and, if they work, will update the script accordingly.

  2. i will not be able add this feature because this option if only confirm birth allotted have been removed from irctc passenger page

There is option for if only confirm birth allotted this option is only available if train has available seats before booking you can check it out once

brupadhyay commented 1 month ago

@dpak-maurya manual intervention meaning do we just need to close the error message or do the whole process by ourselves? Asking cuz today I got the error as Unable to perform the transaction, please try again

sudhanshu947 commented 1 month ago

Unable to perform the transaction, please try again

Unable to perform the transaction, please try again

This error occurs only when we try to login or try to book tickets frequently on irctc and it blocks our ip as much i had researched well I'll share more details soon let me collect some more info first...

brupadhyay commented 1 month ago

@sudhanshu947 @dpak-maurya can you provide some tips from your side, cause today I got booking not allowed, try again error, also I think the refresh time of 5 sec may cause high request rate and from 2 days I saw till 10:00:30 the book now button doesn't gets enabled, I'm not booking for my benefits but seriously, I want confirmation for my family members

sudhanshu947 commented 1 month ago

@sudhanshu947 @dpak-maurya can you provide some tips from your side, cause today I got booking not allowed, try again error, also I think the refresh time of 5 sec may cause high request rate and from 2 days I saw till 10:00:30 the book now button doesn't gets enabled, I'm not booking for my benefits but seriously, I want confirmation for my family members

Sure give me some time I'll look into it and revert and if you want you can message me on WhatsApp here its ‪+‬