Commit graph

58 commits

Author SHA1 Message Date
7ec07906b7
tweet button is no longer a div, it's now.. a button!
Some checks failed
ci/woodpecker/push/publish Pipeline failed
2024-07-11 09:58:52 +02:00
9d0e2f6a7f
since tweet issue (#3)
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
2024-03-09 16:13:52 +01:00
a8248827e0
better usage of the pattern-matching 2024-03-09 15:23:28 +01:00
8201e2cbe4
add space for the hashtag 2024-03-09 15:23:09 +01:00
025d42b44a
close the driver on crash 2024-01-26 15:49:25 +01:00
c091d0cdd0
add hashtag option (#1) 2024-01-26 15:44:28 +01:00
ec233810d2
update dependencies 2024-01-26 15:44:11 +01:00
77fb7b5dc6
follow deprecation notice 2024-01-26 15:31:36 +01:00
c4af201d10
format 2024-01-26 15:31:24 +01:00
3f415cf9e1
update tweet strategy
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
* now use the home page to tweet, instead of relying of clicking on tweet page
2023-05-16 13:32:50 +02:00
2518fca99d
wait a little between opening the tweet area and finding it
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
2023-05-16 13:10:04 +02:00
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