Commit Graph

316 Commits

Author SHA1 Message Date
jeancf
b10a8392c8 5 seconds pause between toots 2023-07-14 11:12:30 +02:00
jeancf
d7bfab4cd3 Remove https:// from NITTER_URLs 2023-07-13 15:51:54 +02:00
jeancf
a4f3934d86 Fix indentation 2023-07-13 15:44:37 +02:00
jeancf
29c7457644 Add some log messages 2023-07-13 13:32:38 +02:00
jeancf
cdbb1bb8f2 Fine tune thread download 2023-07-13 11:53:07 +02:00
jeancf
5939484160 Complete get_timeline() 2023-07-13 11:36:04 +02:00
jeancf
f8bd948b9c Hit a bump 2023-07-12 22:19:04 +02:00
jeancf
b842f6d471 Created get_timeline function 2023-07-12 22:02:06 +02:00
jeancf
15663af09d Remove nitter instance due to 404 2023-07-12 19:23:50 +02:00
jeancf
6188f77e2b Removed unreliable nitter instances 2023-07-12 15:01:24 +02:00
jeancf
530953f48b Add Exclusion of thread tweets 2023-07-12 14:51:04 +02:00
jeancf
ea12cea20f Revert "Added saving page to file"
This reverts commit 1faf11222d.
2023-07-12 13:27:26 +02:00
jeancf
7528afaff9 Removed brackets from timestamp 2023-07-11 20:58:41 +02:00
jeancf
1faf11222d Added saving page to file 2023-07-11 20:41:46 +02:00
jeancf
89b6068a04 Handling tweet-link exception 2023-07-11 19:45:53 +02:00
jeancf
e3c8d228a7 Cleanup nitter instances 2023-07-11 13:25:42 +02:00
jeancf
dc1ad82080 Added timezone logic 2023-07-11 13:17:59 +02:00
jeancf
95ef8929dd Do not force the use of brackets 2023-06-29 17:05:15 +02:00
jeancf
cb798b7b17 Added TOML option 2023-06-28 21:47:48 +02:00
jeancf
969b6849b8 Other time representation 2023-06-28 18:34:42 +02:00
jeancf
f1b7247b3d Corrected one more float bug 2023-06-28 17:57:15 +02:00
jeancf
93f8e493db Fixed float timestamp bug 2023-06-28 17:46:00 +02:00
jeancf
156df6040c correct logging message 2023-06-28 16:29:32 +02:00
jeancf
b5f6405ceb Test further 2023-06-28 15:19:46 +02:00
jeancf
23d897f42c Small adjustment 2023-06-28 14:58:02 +02:00
jeancf
3732392dbf Longer wait to mitigate API error 422 2023-06-28 13:53:26 +02:00
jeancf
191c23074d test timestamp 2023-06-23 17:35:01 +02:00
jeancf
fafd6a1ef8 Adjusted logging messages 2023-06-20 11:30:27 +02:00
jeancf
6667b7ef60 Updated licence date 2023-06-19 20:22:41 +02:00
jeancf
062054c836 updated user agents 2023-06-19 20:13:46 +02:00
JCF
36738c7a65 Corrected account_update_credentials() call 2023-06-18 21:40:21 +02:00
jeancf
a8a580989a Another Nitter instance change 2023-06-16 13:50:23 +02:00
JCF
cc0935297f Added info message to log 2023-06-15 20:34:57 +02:00
JCF
36298925ac Fixed undefined variable error 2023-06-15 20:07:39 +02:00
jeancf
503dc42f25 Split account update in 2 calls 2023-06-15 18:09:46 +02:00
jeancf
be1c1c7db7 Initialize url in db as None 2023-06-15 17:58:38 +02:00
jeancf
b883862b36 Removed print 2023-06-15 17:52:36 +02:00
jeancf
8a87af2e67 Added unrelated log message 2023-06-15 17:49:50 +02:00
jeancf
f233592d75 Catch case where no image is set 2023-06-15 17:40:26 +02:00
jeancf
17b4f673bb Improved logging 2023-06-15 17:32:21 +02:00
jeancf
ee403a5301 Handle AttributeError 2023-06-15 17:10:18 +02:00
jeancf
7e4a7d8576 added new nitter instance 2023-06-15 15:04:43 +02:00
jeancf
c306187196 Refined db structure 2023-06-15 14:49:30 +02:00
jeancf
d610d57125 Verified option set 2023-06-15 14:37:41 +02:00
jeancf
6d90486c8b Added configuration option 2023-06-15 14:35:27 +02:00
jeancf
870a1ee745 Added debug messages 2023-06-15 14:23:41 +02:00
jeancf
dff168baa4 Update profile almost finished 2023-06-15 14:11:48 +02:00
jeancf
69161503e0 Debugging profile update 2023-06-14 22:24:51 +02:00
jeancf
5be406f765 Update code added 2023-06-14 17:10:00 +02:00
jeancf
bf0797a002 Going with update_profile() only 2023-06-14 16:49:15 +02:00
jeancf
d021b20d81 profile_has_changed() done 2023-06-14 16:22:28 +02:00
jeancf
3583186d3f Put it in a function 2023-06-13 17:28:05 +02:00
jeancf
17bbcb7372 Changed db table field names 2023-06-13 16:35:12 +02:00
jeancf
b8bd0a12f5 Extract addresses of avatar and banner images 2023-06-13 16:31:41 +02:00
jeancf
54c59fa676 Improved formatting 2023-06-12 17:43:08 +02:00
JCF
725b7b5dc9 Corrected Typo in import 2023-06-01 14:12:32 +02:00
BuildTools
7e5c0a46e1 Updated nitter instances 2023-06-01 13:55:29 +02:00
jeancf
ebaafaaac8 Removed dead nitter instance 2023-05-06 10:08:13 +02:00
jeancf
9081fe2156 Removing extra slash in URL 2023-02-27 17:48:44 +01:00
jeancf
3a18242480 More nitter changes 2023-02-27 12:56:44 +01:00
jeancf
acfe033865 Update nitter url 2023-02-27 12:48:48 +01:00
jeancf
ad4baa55dd Test new US nitter mirror 2023-02-16 09:39:19 +01:00
jeancf
f732dbfdf9 Removed US mirror 2023-02-15 21:51:26 +01:00
jeancf
e32526288f Merge branch 'nitter' 2023-02-15 20:55:30 +01:00
jeancf
b5325a8721 User agents updated 2023-02-15 20:53:41 +01:00
jeancf
b44033d8ce Change nitter line-up 2023-02-06 21:50:31 +01:00
jeancf
a11a6cba65 Wait 15 seconds + Clean up 2023-02-06 21:40:18 +01:00
jeancf
faedf27a37 Remove unnecessary repeat creation of Mastodon object 2023-02-06 20:41:51 +01:00
jeancf
38e505ad6e Proper implementation of mitigation for API Error 422 2023-02-06 20:41:12 +01:00
jeancf
36248dbce1 tentative mitigation of error 422 2023-02-02 20:56:32 +01:00
jeancf
0db62a1906 added "utm_brand" to blacklist 2023-01-31 22:13:30 +01:00
jeancf
92a60e2fad Fix bug in remove_link_redirections 2023-01-31 21:58:07 +01:00
jeancf
cea62885a1 Add comments and debug message 2023-01-30 11:11:23 +01:00
jeancf
97f6187e40 Correction of URL building 2023-01-03 11:00:41 +01:00
jeancf
6404296631 Use account visibility setting for toots 2023-01-01 13:38:08 +01:00
jeancf
ed3e0b1fd6 Removed match for python < 3.10 2022-12-21 09:41:59 +01:00
jeancf
652e984f67 Correctly test for EOF 2022-12-11 22:42:19 +01:00
jeancf
f881b46454 Quick fix of log issue 2022-12-11 21:57:10 +01:00
jeancf
6c11d39e6c Normalised capitalisation of log file 2022-12-11 12:01:32 +01:00
jeancf
daaf15a6c3 Merge branch 'susbt' 2022-12-11 11:15:50 +01:00
jeancf
2c4d6bd7e0 Last updates before release 2022-11-23 21:46:05 +01:00
jeancf
f0b5ee98d2 Added missing parameter in docstring 2022-11-23 10:50:41 +01:00
jeancf
7e7fa4620f Implemented -l command-line option 2022-11-23 09:59:06 +01:00
jeancf
0d1be42dcc Added code to remove trackers from fragments 2022-11-22 22:01:27 +01:00
jeancf
9625c2128b modified get request in deredir_url() 2022-11-22 11:38:49 +01:00
jeancf
e11102f4a6 User agent removed 2022-11-22 11:33:45 +01:00
jeancf
68e4918b02 Added debug message 2022-11-22 11:08:29 +01:00
jeancf
40d14c4d5d Added de-redirection of URL in tweet 2022-11-22 11:05:16 +01:00
jeancf
6860c53b11 Trying additional instance 2022-11-22 10:11:02 +01:00
jeancf
19eae4f210 Removed unreliable nitter instance 2022-11-22 09:56:56 +01:00
jeancf
f88414bb35 Added _remove_tracker_fragment() 2022-11-19 13:12:41 +01:00
jeancf
e6e6a77d3e Looking for better nitter instances 2022-11-18 13:59:34 +01:00
jeancf
6308fdc348 Reduced debug logging to essential in clean_url() 2022-11-18 13:56:22 +01:00
jeancf
37a4419ea6 Added missing parameter to process_media_body() 2022-11-18 13:32:16 +01:00
jeancf
9b1f4c9cee Swapped another nitter instance 2022-11-18 13:04:30 +01:00
jeancf
203e90dcd4 Added debug messager to clean_url() 2022-11-18 12:57:44 +01:00
jeancf
2a736de0c7 Replaced poor performing nitter instances 2022-11-18 12:17:34 +01:00
BuildTools
e2eff0445c Changed mode of twoot.py 2022-11-18 12:07:02 +01:00
jeancf
26b0619880 added command-line option 2022-11-18 11:55:06 +01:00
jeancf
dc8c89243c Updated user agents 2022-11-17 20:56:21 +01:00