Commit graph

47 commits

Author SHA1 Message Date
da1c0c8298
use CSS selector for tweet area
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
2023-05-16 03:11:40 +02:00
e456fa5bda
double all sleep
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
2023-05-16 02:48:48 +02:00
ceb1a48c79
use headless mode
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
2023-05-16 02:18:35 +02:00
73aafd941c
add some optional logging 2023-05-15 16:28:24 +02:00
ed20ce4ce3
typo 2023-05-15 15:58:28 +02:00
dde373d87c
send the tweet 2023-05-15 15:58:26 +02:00
e8fde14350
click on tweet button 2023-05-15 15:09:24 +02:00
fba2d3b4f9
WIP: Send a tweet 2023-05-15 15:05:34 +02:00
62b04965c3
detect if we need to tweet or not 2023-05-15 14:56:56 +02:00
5575d2c2c5
readability 2023-05-15 14:56:41 +02:00
3c2a60e1a5
don't shadow existing variable 2023-05-15 14:31:27 +02:00
707e8f999a
find latest tweet and returns epoch int 2023-05-15 14:29:29 +02:00
a48594ad2f
Setup routine, adding skeleton for finding latest tweet and for check
Adding refresh call
2023-05-15 12:48:38 +02:00
0511907097
wait a bit longer 2023-05-15 12:12:25 +02:00
d0b739acf8
Navigate to tweet and replies instead of only the profile 2023-05-15 12:11:59 +02:00
408a2b0845
note 2023-05-15 11:46:45 +02:00
f04b3fa763
click to profile 2023-05-15 11:44:21 +02:00
d5a7c3d0ed
handle sigint 2023-05-15 11:02:56 +02:00
05a56a4ef0
comment 2023-05-14 22:55:18 +02:00
ccf780e11e
use css selector instead of xpath 2023-05-14 22:52:36 +02:00
cae3848490
LOGGED! 2023-05-14 22:37:00 +02:00
36b9ca18c9
init 2fa 2023-05-14 22:16:20 +02:00
0b4ee8f714
add username twice if needed 2023-05-14 20:39:24 +02:00
4a2db80c54
preparation for 2fa 2023-05-14 01:57:29 +02:00
85c20935c0
Add username and password fill 2023-05-14 01:44:11 +02:00
81f8318e73
try to send input 2023-05-13 22:13:26 +02:00
aa90607cc7
find element with XPath 2023-05-13 20:31:46 +02:00
62571b4de5
move login logic to twitter file 2023-05-13 19:58:48 +02:00
219a301e8e
use only pusk lib 2023-05-13 18:03:30 +02:00
3427d3b079
use the Any exception everywhere so we never close the app without closing properly the driver 2023-05-13 18:02:46 +02:00
e62a82fc62
add .env in config directory to load credentials, also always unload backend properly in case of a failwith 2023-05-13 18:00:57 +02:00
b1989bd79b
add screenshot, wait for load, ability to run JS, add extra time in bonus so the twitter login page is loaded 2023-05-13 17:10:19 +02:00
a10ca91700
navigate to twitter 2023-05-13 16:17:18 +02:00
685412114c
retrieve sessionId 2023-05-13 13:33:46 +02:00
f3ca71b509
add a start and stop fn 2023-05-13 13:06:15 +02:00
cebb5cb5b0
changes 2023-05-13 12:37:12 +02:00
4caaf7ee16
fix running process 2023-05-13 11:59:09 +02:00
3777bdff1c
payload to json 2023-05-13 10:40:03 +02:00
047daf36b4
useless close fn 2023-05-13 10:39:51 +02:00
349952d116
selenium is useless, only driver needed - prepare for requesting data from it 2023-05-13 10:15:35 +02:00
255c33b1a3
move preparation to selenium file 2023-05-12 20:30:02 +02:00
737c819649
Split into multiples files 2023-05-12 20:04:04 +02:00
2e10cc53e2
download gecko 2023-05-12 19:36:27 +02:00
837b885d27
Download now works 2023-05-12 18:40:47 +02:00
a3c8e0ede3
try to download selenium 2023-05-12 10:51:39 +02:00
4d4c899108
add requirements 2023-05-12 09:43:21 +02:00
b56f507a20
dune init 2023-05-12 08:30:56 +02:00