Commit d29ed5f
fix(datanodes): follow the step-2 trigger chain instead of clicking once (LeyckerS#111)
datanodes now serves step 2 as two buttons: 'Free Download / Standard Speed'
reveals 'Start Download / Your file is ready', and only the second starts the
transfer. The trigger handler latched after the first click, so every free
account has been hanging for the full 420s budget and failing silently.
The page was never unreadable -- DN_STEP2_JS already matches the second button,
'start download' is the first alternative in its regex. Every poll after the
first click reported the new trigger and the latch discarded it.
Track which labels were clicked rather than whether anything was, so each new
trigger in the chain gets exactly one click. DN_STEP2_MAX_CLICKS caps it so a
page cycling labels stops instead of being clicked until the deadline.
Closes LeyckerS#109
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>1 parent 87e9cfe commit d29ed5f
1 file changed
Lines changed: 20 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
226 | 229 | | |
227 | 230 | | |
228 | 231 | | |
| |||
724 | 727 | | |
725 | 728 | | |
726 | 729 | | |
727 | | - | |
| 730 | + | |
728 | 731 | | |
729 | | - | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
730 | 740 | | |
731 | 741 | | |
732 | 742 | | |
| |||
769 | 779 | | |
770 | 780 | | |
771 | 781 | | |
772 | | - | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
773 | 789 | | |
774 | 790 | | |
775 | 791 | | |
776 | | - | |
| 792 | + | |
777 | 793 | | |
778 | 794 | | |
779 | 795 | | |
| |||
0 commit comments