Commit Graph

231 Commits

Author SHA1 Message Date
jeancf
cf4d1d67c7 Test requests.head for deredir() 2022-11-30 20:52:36 +01:00
jeancf
43d46a1b20 Added option to not add original tweet line 2022-11-30 20:30:28 +01:00
jeancf
f1d947d83c Added footer functionality 2022-11-30 17:36:16 +01:00
jeancf
0065363d0e removed trailing / 2022-11-30 14:09:48 +01:00
jeancf
ee0dcd2ec0 Refined warning message 2022-11-30 13:46:15 +01:00
jeancf
2015e43e23 replaced unreliable nitter.eu 2022-11-30 13:21:25 +01:00
jeancf
9caa7ce1ef Password no longer required 2022-11-30 13:17:04 +01:00
jeancf
8ca17bef58 Implemented new login() 2022-11-30 12:34:55 +01:00
jeancf
f64645cf69 initialized loaded_toml to None 2022-11-29 11:26:29 +01:00
jeancf
30773933f2 Renamed substitution keys 2022-11-29 11:15:14 +01:00
jeancf
d1b23e5c0d Added tomli/tomllib module dependency 2022-11-29 11:11:47 +01:00
jeancf
07e28948db Introduced build_config() 2022-11-29 10:59:23 +01:00
jeancf
82b037aaa1 Reworked default config 2022-11-28 21:49:04 +01:00
jeancf
bad9c1f44c Improved config 2022-11-28 20:02:20 +01:00
jeancf
fbe99609d2 Added debug code 2022-11-28 19:43:41 +01:00
JCF
03a514239a Added default config for domain substitution 2022-11-28 10:20:53 +00:00
BuildTools
b5262b7b3f Another nitter instance 2022-11-27 22:42:16 +01:00
BuildTools
7266662734 Changed nitter instance 2022-11-27 22:09:04 +01:00
jeancf
21ac2cf7dd Done but to be tested 2022-11-27 20:45:32 +01:00
jeancf
27ed4cf10e Refactored process_media_body() 2022-11-27 18:30:39 +01:00
jeancf
8aa9bb9ae0 Corrected urlunparse() call 2022-11-27 18:15:16 +01:00
jeancf
f92d025e5c substitute_source() completed 2022-11-27 18:12:49 +01:00
jeancf
318354669e Added reddit substitution 2022-11-27 18:03:30 +01:00
jeancf
69c358b516 Added twitter substitution 2022-11-27 17:56:37 +01:00
jeancf
381845e514 Basic functionality OK with youtube 2022-11-26 15:04:00 +01:00
jeancf
3404b7df6a Implemented youtube substitution 2022-11-26 14:36:20 +01:00
jeancf
e6af746c17 Corrected login issue 2022-11-24 09:33:31 +01:00
jeancf
c699e80e25 Corrected TOML key 2022-11-24 08:35:19 +01:00
jeancf
7ebc2927a7 Keep log files 2022-11-23 16:28:37 +01:00
jeancf
d79da68b02 Simplified login signature 2022-11-23 15:02:31 +01:00
jeancf
10616d6c88 Simplified is_time_valid() 2022-11-23 14:55:43 +01:00
jeancf
b6315f193c Simplified process_media_body and _attachments 2022-11-23 14:49:06 +01:00
jeancf
294bf1fae1 Changed config struct to global 2022-11-23 14:31:17 +01:00
jeancf
82951bfbd3 Added missing params to info 2022-11-23 11:42:56 +01:00
jeancf
4a73a6252e Updated logging info 2022-11-23 11:25:19 +01:00
jeancf
85c5c2ef48 Updated config file 2022-11-23 11:17:53 +01:00
jeancf
0b58df16e2 Merge branch 'clean_url' into cfg_file
# Conflicts:
#	twoot.py
2022-11-23 11:00:06 +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
14d698f057 Removed forgotten debug code 2022-11-18 17:26:40 +01:00
jeancf
b161118cf8 Replaced max_age min_delay and cap 2022-11-18 17:06:46 +01:00
jeancf
739009ba97 Replaced suppress_retweets and get_vids 2022-11-18 17:03:12 +01:00